Plug a leak

svn path=/trunk/; revision=7191
This commit is contained in:
Matthias Clasen
2008-07-16 06:13:41 +00:00
parent d17b52cbdb
commit 6dba7df4b1
2 changed files with 9 additions and 0 deletions

View File

@@ -154,6 +154,8 @@ get_mount_for_mount_path (const char *mount_path,
/* TODO: Set mountable volume? */
mount = _g_unix_mount_new (NULL, mount_entry, NULL);
g_unix_mount_free (mount_entry);
return G_MOUNT (mount);
}