Bug 587165 – Double free in initialize_categories()
authorMatthew Barnes <mbarnes@redhat.com>
Sun, 28 Jun 2009 02:22:27 +0000 (22:22 -0400)
committerMatthew Barnes <mbarnes@redhat.com>
Sun, 28 Jun 2009 02:24:53 +0000 (22:24 -0400)
configure.ac
libedataserver/e-categories.c

index 14e5c40..83598db 100644 (file)
@@ -21,7 +21,7 @@ AC_CONFIG_SRCDIR(README)
 AC_CONFIG_HEADERS(config.h)
 
 # Automake 1.11 - Silent Build Rules
-m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
+m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
 
 # Required Package Versions
 m4_define([glib_minimum_version], [2.16.1])
index 7e19d84..96bdad9 100644 (file)
@@ -399,6 +399,7 @@ load_default_categories (void)
                        gettext (cat_info->category),
                        NULL, icon_file, TRUE);
                g_free (icon_file);
+               icon_file = NULL;
                cat_info++;
        }
 }