fix leak, patch by Kjartan Maaras. (#153595).

2004-10-17  Paolo Borelli  <pborelli@katamail.com>

	* capplets/common/activate-settings-daemon.c: fix leak, patch by
	Kjartan Maaras. (#153595).

	approved by jrb.
This commit is contained in:
Paolo Borelli 2004-10-17 17:32:05 +00:00 committed by Paolo Borelli
parent b2b3154710
commit 3c53e1ee00
3 changed files with 10 additions and 3 deletions

View file

@ -1,3 +1,8 @@
2004-10-17 Paolo Borelli <pborelli@katamail.com>
* capplets/common/activate-settings-daemon.c: fix leak, patch by
Kjartan Maaras. (#153595)
2004-10-17 Sergey V. Udaltsov <svu@gnome.org>
* configure.in : require libxklavier 1.10 - since API was changed

View file

@ -10,7 +10,7 @@
/*#include "GNOME_SettingsDaemon.h"*/
static void popup_error_message ()
static void popup_error_message (void)
{
GtkWidget *dialog;

View file

@ -418,7 +418,7 @@ handle_change_signal (GnomeThemeType type,
GnomeThemeChangeType change_type,
GnomeThemeElement element)
{
#if DEBUG
#ifdef DEBUG
gchar *type_str = NULL;
gchar *element_str = NULL;
#endif
@ -441,7 +441,7 @@ handle_change_signal (GnomeThemeType type,
(* callback_data->func) (uri, callback_data->data);
}
#if DEBUG
#ifdef DEBUG
if (change_type == GNOME_THEME_CHANGE_CREATED)
type_str = "created";
else if (change_type == GNOME_THEME_CHANGE_CHANGED)
@ -1382,6 +1382,8 @@ gnome_theme_icon_info_new (void)
void
gnome_theme_icon_info_free (GnomeThemeIconInfo *icon_theme_info)
{
g_free (icon_theme_info->name);
g_free (icon_theme_info->path);
g_free (icon_theme_info);
}