forked from AuroraMiddleware/gtk
Avoid an unnecessary check
We create the indexed_locations array unconditionally.
This commit is contained in:
parent
ed50772b41
commit
d9a22e7e30
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user