[libbonobo] 2009-10-06 Michael Meeks <michael meeks novell com>
- From: Michael Meeks <michael src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [libbonobo] 2009-10-06 Michael Meeks <michael meeks novell com>
- Date: Tue, 6 Oct 2009 20:16:58 +0000 (UTC)
commit 54eefb49521cdb3e173ca0809d1395d9f5d215b3
Author: Michael Meeks <michael meeks novell com>
Date: Tue Oct 6 21:15:55 2009 +0100
2009-10-06 Michael Meeks <michael meeks novell com>
* bonobo-activation/bonobo-activation-mime.c
(gnome_vfs_mime_get_short_list_components): fix memory
corruption identified by Vuntz - thanks.
ChangeLog | 6 ++++++
bonobo-activation/bonobo-activation-mime.c | 2 +-
2 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 3c86841..5fc6511 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2009-10-06 Michael Meeks <michael meeks novell com>
+
+ * bonobo-activation/bonobo-activation-mime.c
+ (gnome_vfs_mime_get_short_list_components): fix memory
+ corruption identified by Vuntz - thanks.
+
================================ 2.24.1 ============================
2009-01-27 Tor Lillqvist <tml novell com>
diff --git a/bonobo-activation/bonobo-activation-mime.c b/bonobo-activation/bonobo-activation-mime.c
index d098525..e2a7212 100644
--- a/bonobo-activation/bonobo-activation-mime.c
+++ b/bonobo-activation/bonobo-activation-mime.c
@@ -292,7 +292,6 @@ gnome_vfs_mime_get_short_list_components (const char *mime_type)
query = g_strconcat ("bonobo:supported_mime_types.has_one (['", mime_type,
"', '", supertype,
"', '*'])", NULL);
- g_free (supertype);
/* Prefer something that matches the exact type to something
that matches the supertype */
@@ -313,6 +312,7 @@ gnome_vfs_mime_get_short_list_components (const char *mime_type)
components_list = NULL;
}
+ g_free (supertype);
g_free (query);
g_free (sort[0]);
g_free (sort[1]);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]