Avoid an unnecessary check

We create the indexed_locations array unconditionally.
This commit is contained in:
Matthias Clasen 2015-06-19 00:34:28 -04:00
parent ed50772b41
commit d9a22e7e30

View File

@ -84,8 +84,7 @@ finalize (GObject *object)
g_clear_object (&tracker->priv->query);
g_clear_object (&tracker->priv->connection);
if (tracker->priv->indexed_locations)
g_ptr_array_unref (tracker->priv->indexed_locations);
g_ptr_array_unref (tracker->priv->indexed_locations);
G_OBJECT_CLASS (_gtk_search_engine_tracker_parent_class)->finalize (object);
}