Bug 552837 – mem leak in gtkimmulticontext

* gtk/gtkimmulticontext.c: (gtk_im_multicontext_get_slave): Plug mem
 	leak.

svn path=/trunk/; revision=21445
This commit is contained in:
Christian Persch 2008-09-19 12:28:30 +00:00
parent d22cf5141e
commit 34b3bb8c5f
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,10 @@
2008-09-19 Christian Persch <chpe@gnome.org>
Bug 552837 mem leak in gtkimmulticontext
* gtk/gtkimmulticontext.c: (gtk_im_multicontext_get_slave): Plug mem
leak.
2008-09-18 Emmanuele Bassi <ebassi@linux.intel.com>
* gtk/gtkfilechooserdefault.c (settings_save): Save the size column

View File

@ -237,6 +237,7 @@ gtk_im_multicontext_get_slave (GtkIMMulticontext *multicontext)
gtk_im_multicontext_set_slave (multicontext, slave, FALSE);
g_object_unref (slave);
g_free (multicontext->context_id);
multicontext->context_id = g_strdup (global_context_id);
}