app: fix leak.

Commit e0b778fe5a was not tested well enough. It was heavily leaking
objects passed through the PDB.
This commit is contained in:
Jehan 2024-08-18 22:01:08 +02:00
parent bf294c51f6
commit 9a26d45793
1 changed files with 1 additions and 0 deletions

View File

@ -1039,6 +1039,7 @@ gimp_procedure_validate_args (GimpProcedure *procedure,
return FALSE;
}
g_clear_object (&old_value);
/* UTT-8 validate all strings */
if (G_PARAM_SPEC_TYPE (pspec) == G_TYPE_PARAM_STRING ||