mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 01:20:42 -05:00
Free title of preview when the preview is destroyed. Closes #469682.
2007-10-28 Jans Granseuer <jensgr@gmx.net> * src/preview-widget.c (meta_preview_finalize): Free title of preview when the preview is destroyed. Closes #469682. svn path=/trunk/; revision=3365
This commit is contained in:
parent
1bf37776c3
commit
118d962b2d
@ -1,3 +1,8 @@
|
|||||||
|
2007-10-28 Jans Granseuer <jensgr@gmx.net>
|
||||||
|
|
||||||
|
* src/preview-widget.c (meta_preview_finalize): Free title of
|
||||||
|
preview when the preview is destroyed. Closes #469682.
|
||||||
|
|
||||||
2007-10-27 Alex R.M. Turner <armtuk@gmail.com>
|
2007-10-27 Alex R.M. Turner <armtuk@gmail.com>
|
||||||
|
|
||||||
* src/tabpopup.c (tab_entry_new): Truncate the string to
|
* src/tabpopup.c (tab_entry_new): Truncate the string to
|
||||||
|
@ -128,6 +128,13 @@ meta_preview_new (void)
|
|||||||
static void
|
static void
|
||||||
meta_preview_finalize (GObject *object)
|
meta_preview_finalize (GObject *object)
|
||||||
{
|
{
|
||||||
|
MetaPreview *preview;
|
||||||
|
|
||||||
|
preview = META_PREVIEW (object);
|
||||||
|
|
||||||
|
g_free (preview->title);
|
||||||
|
preview->title = NULL;
|
||||||
|
|
||||||
G_OBJECT_CLASS (parent_class)->finalize (object);
|
G_OBJECT_CLASS (parent_class)->finalize (object);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user