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
@ -582,10 +582,10 @@ static gboolean
|
||||
script_fu_run_command (const gchar *command,
|
||||
GError **error)
|
||||
{
|
||||
GString *output = g_string_new ("");
|
||||
GString *output;
|
||||
gboolean success = FALSE;
|
||||
|
||||
output = g_string_new ("");
|
||||
output = g_string_new (NULL);
|
||||
ts_register_output_func (ts_gstring_output_func, output);
|
||||
|
||||
if (ts_interpret_string (command))
|
||||
|
Reference in New Issue
Block a user