[grilo-plugins] bookmarks: Do not free list
- From: Juan A. Suarez Romero <jasuarez src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [grilo-plugins] bookmarks: Do not free list
- Date: Fri, 30 May 2014 14:59:24 +0000 (UTC)
commit e875103068b79bfc0aac15f308262b703071f168
Author: Juan A. Suarez Romero <jasuarez igalia com>
Date: Fri May 30 14:58:46 2014 +0000
bookmarks: Do not free list
The ownership is taken by GOM.
src/bookmarks/grl-bookmarks.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/src/bookmarks/grl-bookmarks.c b/src/bookmarks/grl-bookmarks.c
index ced2e98..d2b4797 100644
--- a/src/bookmarks/grl-bookmarks.c
+++ b/src/bookmarks/grl-bookmarks.c
@@ -249,7 +249,6 @@ grl_bookmarks_source_init (GrlBookmarksSource *source)
source->priv->repository = gom_repository_new (source->priv->adapter);
object_types = g_list_prepend(NULL, GINT_TO_POINTER(BOOKMARKS_TYPE_RESOURCE));
gom_repository_automatic_migrate_async (source->priv->repository, 2, object_types, migrate_cb, source);
- g_list_free(object_types);
}
G_DEFINE_TYPE (GrlBookmarksSource, grl_bookmarks_source, GRL_TYPE_SOURCE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]