summaryrefslogtreecommitdiff
path: root/daemon
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2009-09-11 00:44:02 -0400
committerMatthias Clasen <mclasen@redhat.com>2009-09-11 00:44:02 -0400
commitbd98cf81ab1aaec7e088d268f0b5fb6366b5c61f (patch)
tree4842c4d403106628483f33a40213485d005e725d /daemon
parent7fb9cb60c85c34b46e563e0ede85060c1f68c284 (diff)
downloadgvfs-bd98cf81ab1aaec7e088d268f0b5fb6366b5c61f.tar.gz
Plug a leak in gvfsbackendarchive.c
clang reported this leak.
Diffstat (limited to 'daemon')
-rw-r--r--daemon/gvfsbackendarchive.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/gvfsbackendarchive.c b/daemon/gvfsbackendarchive.c
index 17f3fc48..92758bbb 100644
--- a/daemon/gvfsbackendarchive.c
+++ b/daemon/gvfsbackendarchive.c
@@ -297,7 +297,7 @@ archive_file_get_from_path (ArchiveFile *file, const char *filename, gboolean ad
static void
create_root_file (GVfsBackendArchive *ba)
{
- ArchiveFile *root = g_slice_new0 (ArchiveFile);
+ ArchiveFile *root;
GFileInfo *info;
char *s, *display_name;
GIcon *icon;