[gvfs] Plug a leak in gvfsbackendarchive.c
- From: Matthias Clasen <matthiasc src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gvfs] Plug a leak in gvfsbackendarchive.c
- Date: Fri, 11 Sep 2009 05:13:45 +0000 (UTC)
commit bd98cf81ab1aaec7e088d268f0b5fb6366b5c61f
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Sep 11 00:44:02 2009 -0400
Plug a leak in gvfsbackendarchive.c
clang reported this leak.
daemon/gvfsbackendarchive.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/daemon/gvfsbackendarchive.c b/daemon/gvfsbackendarchive.c
index 17f3fc4..92758bb 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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]