From 6233c7d20f1043d1a9ee96108a03edc0096947e8 Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Fri, 8 Apr 2011 13:00:38 +0100 Subject: [PATCH] info: Use correct destructor for GUnixMountEntry --- panels/info/cc-info-panel.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/panels/info/cc-info-panel.c b/panels/info/cc-info-panel.c index dc6b173cc..011161fbf 100644 --- a/panels/info/cc-info-panel.c +++ b/panels/info/cc-info-panel.c @@ -598,14 +598,14 @@ get_primary_disc_info (void) if (g_str_has_prefix (mount_path, "/media/") || g_str_has_prefix (mount_path, g_get_home_dir ())) { - g_free (mount); + g_unix_mount_free (mount); continue; } if (statfs (mount_path, &buf) < 0) { g_warning ("Unable to stat / filesystem: %s", g_strerror (errno)); - g_free (mount); + g_unix_mount_free (mount); continue; } else @@ -613,7 +613,7 @@ get_primary_disc_info (void) total_bytes += (guint64) buf.f_blocks * buf.f_bsize; } - g_free (mount); + g_unix_mount_free (mount); } g_list_free (points);