diff options
-rw-r--r-- | src/bookmarks/ephy-bookmarks-import.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bookmarks/ephy-bookmarks-import.c b/src/bookmarks/ephy-bookmarks-import.c index 44f5fd63a..3e7096679 100644 --- a/src/bookmarks/ephy-bookmarks-import.c +++ b/src/bookmarks/ephy-bookmarks-import.c @@ -83,7 +83,6 @@ ephy_bookmarks_import (EphyBookmarks *bookmarks, G_FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE, 0, NULL, NULL); type = g_file_info_get_content_type (file_info); - g_object_unref (file_info); g_debug ("Importing bookmarks of type %s", type ? type : "(null)"); @@ -132,6 +131,7 @@ ephy_bookmarks_import (EphyBookmarks *bookmarks, g_free (basename); } + g_object_unref (file_info); g_object_unref (file); return success; |