modules/controller_linux_input.c don't g_free(error) but

2004-10-27  Michael Natterer  <mitch@gimp.org>

	* modules/controller_linux_input.c
	* modules/controller_midi.c: don't g_free(error) but
	g_free_error(&error) the GError.
This commit is contained in:
Michael Natterer 2004-10-27 11:01:39 +00:00 committed by Michael Natterer
parent 52252cf0d6
commit 4b7d7338bc
3 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2004-10-27 Michael Natterer <mitch@gimp.org>
* modules/controller_linux_input.c
* modules/controller_midi.c: don't g_free(error) but
g_free_error(&error) the GError.
2004-10-27 Sven Neumann <sven@gimp.org>
* app/dialogs/resize-dialog.[ch]: started to redo the Resize

View File

@ -429,7 +429,7 @@ linux_input_read_event (GIOChannel *io,
g_object_set (input, "name", name, NULL);
g_free (name);
g_free (error);
g_free_error (&error);
}
else
{

View File

@ -475,7 +475,7 @@ midi_read_event (GIOChannel *io,
g_object_set (midi, "name", name, NULL);
g_free (name);
g_free (error);
g_free_error (&error);
}
else
{