From 70e5dbeec4e69f9de4679893f4d5753830b3a1ff Mon Sep 17 00:00:00 2001 From: Kees Cook Date: Wed, 28 Apr 2010 03:33:57 -0700 Subject: Allocate memory for hash table items (LP: #533021) --- src/messages-service.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/messages-service.c b/src/messages-service.c index 54b4055..0783d91 100644 --- a/src/messages-service.c +++ b/src/messages-service.c @@ -315,7 +315,7 @@ desktop_file_from_keyfile (const gchar * definition_file) } /* Add a definition file into the black list and eclipse - and launchers that have the same file. */ + any launchers that have the same file. */ static gboolean blacklist_add (gpointer udata) { @@ -359,7 +359,7 @@ blacklist_add_core (gchar * desktop, gchar * definition) } /* Actually blacklist this thing */ - g_hash_table_insert(blacklist, desktop, definition); + g_hash_table_insert(blacklist, g_strdup(desktop), g_strdup(definition)); g_debug("Adding Blacklist item '%s' for desktop '%s'", definition, desktop); /* Go through and eclipse folks */ -- cgit v1.2.3 From 2265824db3e7849f1b95df8a1f282771db4bf909 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Fri, 21 May 2010 14:45:55 -0500 Subject: 0.3.7 --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 1e3ba01..2f95071 100644 --- a/configure.ac +++ b/configure.ac @@ -4,7 +4,7 @@ AC_INIT(src/indicator-messages.c) AC_PREREQ(2.53) AM_CONFIG_HEADER(config.h) -AM_INIT_AUTOMAKE(indicator-messages, 0.3.6) +AM_INIT_AUTOMAKE(indicator-messages, 0.3.7) AM_MAINTAINER_MODE -- cgit v1.2.3