plugged a memory leak.
2008-09-18 Sven Neumann <sven@gimp.org> * plug-ins/script-fu/script-fu-scripts.c (script_fu_run_command): plugged a memory leak. * plug-ins/script-fu/script-fu-console.c * plug-ins/script-fu/script-fu-server.c: minor cleanup. svn path=/trunk/; revision=26996
This commit is contained in:
committed by
Sven Neumann
parent
d232dcf41e
commit
e0a2e4e5db
@ -595,7 +595,7 @@ script_fu_cc_key_function (GtkWidget *widget,
|
||||
|
||||
gtk_entry_set_text (GTK_ENTRY (console->cc), "");
|
||||
|
||||
output = g_string_new ("");
|
||||
output = g_string_new (NULL);
|
||||
ts_register_output_func (ts_gstring_output_func, output);
|
||||
|
||||
gimp_plugin_set_pdb_error_handler (GIMP_PDB_ERROR_HANDLER_PLUGIN);
|
||||
|
||||
Reference in New Issue
Block a user