Move the call to g_free (cursor_font) outside of the conditional so it
2005-08-24 Kjartan Maraas <kmaraas@gnome.org> * gnome-mouse-properties.c: (cursor_changed): Move the call to g_free (cursor_font) outside of the conditional so it gets free'd in both cases.
This commit is contained in:
parent
4307dfb624
commit
4583778397
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
2005-08-24 Kjartan Maraas <kmaraas@gnome.org>
|
||||
|
||||
* gnome-mouse-properties.c: (cursor_changed): Move the call to
|
||||
g_free (cursor_font) outside of the conditional so it gets free'd
|
||||
in both cases.
|
||||
|
||||
2005-08-01 Sebastien Bacher <seb128@debian.org>
|
||||
|
||||
* gnome-mouse-properties.c: (cursor_theme_changed): no need to allocate
|
||||
|
|
|
@ -587,8 +587,8 @@ cursor_changed (GtkTreeSelection *selection,
|
|||
#else
|
||||
gconf_client_set_string (client,
|
||||
CURSOR_FONT_KEY, cursor_font, NULL);
|
||||
g_free (cursor_font);
|
||||
#endif
|
||||
g_free (cursor_font);
|
||||
} else {
|
||||
#ifdef HAVE_XCURSOR
|
||||
gconf_client_unset (client,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue