aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXan Lopez <xan@gnome.org>2010-06-13 05:06:04 +0800
committerDiego Escalante Urrelo <descalante@igalia.com>2010-08-31 04:32:59 +0800
commit7af882d9bb8e04ee2e451ccfff3a14d91a849704 (patch)
treefe224174964be9e9feb35962ae4b75848502b47f
parent197e75e719b3be263be7a4d3c8764c4fb15ada19 (diff)
downloadgsoc2013-epiphany-7af882d9bb8e04ee2e451ccfff3a14d91a849704.tar
gsoc2013-epiphany-7af882d9bb8e04ee2e451ccfff3a14d91a849704.tar.gz
gsoc2013-epiphany-7af882d9bb8e04ee2e451ccfff3a14d91a849704.tar.bz2
gsoc2013-epiphany-7af882d9bb8e04ee2e451ccfff3a14d91a849704.tar.lz
gsoc2013-epiphany-7af882d9bb8e04ee2e451ccfff3a14d91a849704.tar.xz
gsoc2013-epiphany-7af882d9bb8e04ee2e451ccfff3a14d91a849704.tar.zst
gsoc2013-epiphany-7af882d9bb8e04ee2e451ccfff3a14d91a849704.zip
pdm-dialog: plug leak
-rw-r--r--src/pdm-dialog.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/pdm-dialog.c b/src/pdm-dialog.c
index 8637a0b1c..9a97a5bce 100644
--- a/src/pdm-dialog.c
+++ b/src/pdm-dialog.c
@@ -354,13 +354,15 @@ clear_all_dialog_checkbutton_toggled_cb (GtkToggleButton *toggle,
static GtkWidget*
_gtk_message_dialog_get_content_area (GtkMessageDialog *dialog)
{
- GtkWidget *image, *parent;
+ GtkWidget *image, *parent, *box;
GList *children;
image = gtk_message_dialog_get_image (dialog);
parent = gtk_widget_get_parent (image);
children = gtk_container_get_children (GTK_CONTAINER (parent));
- return GTK_WIDGET (children->next->data);
+ box = GTK_WIDGET (children->next->data);
+ g_list_free (children);
+ return box;
}
void