Commit 6d7ae030 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann
Browse files

don't free the options structure twice (fixes bug #102515).

2003-01-05  Sven Neumann  <sven@gimp.org>

	* app/gui/qmask-commands.c (qmask_channel_query): don't free the
	options structure twice (fixes bug #102515).
parent fc4f674c
2003-01-05 Sven Neumann <sven@gimp.org>
* app/gui/qmask-commands.c (qmask_channel_query): don't free the
options structure twice (fixes bug #102515).
2003-01-05 Sven Neumann <sven@gimp.org>
 
* app/widgets/gimppropwidgets.c: (gimp_prop_enum_option_menu_new):
......
......@@ -191,7 +191,7 @@ qmask_channel_query (GimpDisplayShell *shell)
NULL);
g_object_weak_ref (G_OBJECT (options->query_box),
(GWeakNotify) g_free, options);
(GWeakNotify) g_free, options);
/* The main hbox */
hbox = gtk_hbox_new (FALSE, 4);
......@@ -268,7 +268,6 @@ qmask_query_ok_callback (GtkWidget *widget,
options->gimage->qmask_color = color;
gtk_widget_destroy (options->query_box);
g_free (options);
}
static void
......
......@@ -191,7 +191,7 @@ qmask_channel_query (GimpDisplayShell *shell)
NULL);
g_object_weak_ref (G_OBJECT (options->query_box),
(GWeakNotify) g_free, options);
(GWeakNotify) g_free, options);
/* The main hbox */
hbox = gtk_hbox_new (FALSE, 4);
......@@ -268,7 +268,6 @@ qmask_query_ok_callback (GtkWidget *widget,
options->gimage->qmask_color = color;
gtk_widget_destroy (options->query_box);
g_free (options);
}
static void
......
......@@ -191,7 +191,7 @@ qmask_channel_query (GimpDisplayShell *shell)
NULL);
g_object_weak_ref (G_OBJECT (options->query_box),
(GWeakNotify) g_free, options);
(GWeakNotify) g_free, options);
/* The main hbox */
hbox = gtk_hbox_new (FALSE, 4);
......@@ -268,7 +268,6 @@ qmask_query_ok_callback (GtkWidget *widget,
options->gimage->qmask_color = color;
gtk_widget_destroy (options->query_box);
g_free (options);
}
static void
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment