UDisksObjectInfo: fix memory leak
authorDavid Zeuthen <zeuthen@gmail.com>
Wed, 5 Dec 2012 18:00:33 +0000 (13:00 -0500)
committerDavid Zeuthen <zeuthen@gmail.com>
Wed, 5 Dec 2012 18:00:33 +0000 (13:00 -0500)
Signed-off-by: David Zeuthen <zeuthen@gmail.com>
udisks/udisksobjectinfo.c

index 8503f07..8107abf 100644 (file)
@@ -102,6 +102,8 @@ udisks_object_info_finalize (GObject *object)
   g_free (info->media_description);
   g_clear_object (&info->media_icon);
   g_clear_object (&info->media_icon_symbolic);
+  g_free (info->one_liner);
+  g_free (info->sort_key);
 
   G_OBJECT_CLASS (udisks_object_info_parent_class)->finalize (object);
 }