aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2001-05-04 23:35:27 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2001-05-04 23:35:27 +0800
commit134cba36bcb2ac48e29035eb5237a360643c7578 (patch)
tree89a4804f4f1a9f419c89e9081ce296fa89f27780
parent39319663e823bd6e7dc051e8fac2f7e88f4ae6fb (diff)
downloadgsoc2013-evolution-134cba36bcb2ac48e29035eb5237a360643c7578.tar
gsoc2013-evolution-134cba36bcb2ac48e29035eb5237a360643c7578.tar.gz
gsoc2013-evolution-134cba36bcb2ac48e29035eb5237a360643c7578.tar.bz2
gsoc2013-evolution-134cba36bcb2ac48e29035eb5237a360643c7578.tar.lz
gsoc2013-evolution-134cba36bcb2ac48e29035eb5237a360643c7578.tar.xz
gsoc2013-evolution-134cba36bcb2ac48e29035eb5237a360643c7578.tar.zst
gsoc2013-evolution-134cba36bcb2ac48e29035eb5237a360643c7578.zip
Plug a leak (the return value from `oaf_query()' must be freed!).
svn path=/trunk/; revision=9668
-rw-r--r--shell/ChangeLog5
-rw-r--r--shell/importer/intelligent.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index d09a3cff3d..5ad67ab66b 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,5 +1,10 @@
2001-05-04 Ettore Perazzoli <ettore@ximian.com>
+ * importer/intelligent.c (get_intelligent_importers): Free the
+ `info_list' returned by `oaf_query()', thus plugging a leak.
+
+2001-05-04 Ettore Perazzoli <ettore@ximian.com>
+
* e-shell-utils.c (get_icon_path): Don't use
`gnome_pixmap_file()', which is broken as it looks in the current
working directory first. Instead, if the path is not absolute,
diff --git a/shell/importer/intelligent.c b/shell/importer/intelligent.c
index 567af0683c..166be226ad 100644
--- a/shell/importer/intelligent.c
+++ b/shell/importer/intelligent.c
@@ -210,6 +210,8 @@ get_intelligent_importers (void)
iids_ret = g_list_prepend (iids_ret, g_strdup (info->iid));
}
+ CORBA_free (info_list);
+
return iids_ret;
}