applied patch by Kevin Cozens that moves a g_free() to the right place

2004-07-29  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-scripts.c (script_fu_free_script):
	applied patch by Kevin Cozens that moves a g_free() to the right
	place (bug #148729).
This commit is contained in:
Sven Neumann
2004-07-28 22:39:49 +00:00
committed by Sven Neumann
parent 1916467798
commit d750b5c212
3 changed files with 8 additions and 2 deletions

View File

@ -1019,7 +1019,6 @@ script_fu_free_script (SFScript *script)
g_free (script->copyright);
g_free (script->date);
g_free (script->img_types);
g_free (script->arg_types);
for (i = 0; i < script->num_args; i++)
{
@ -1087,6 +1086,7 @@ script_fu_free_script (SFScript *script)
g_free (script->arg_labels);
g_free (script->arg_defaults);
g_free (script->arg_types);
g_free (script->arg_values);
g_free (script);