libgimp: gimp_pdb_run_procedure_array() was leaking proc_run.params

This commit is contained in:
Michael Natterer 2019-09-05 12:10:53 +02:00
parent b4f698e78c
commit 7d3427e91d
1 changed files with 2 additions and 0 deletions

View File

@ -302,6 +302,8 @@ gimp_pdb_run_procedure_array (GimpPDB *pdb,
&proc_run, pdb->priv->plug_in))
gimp_quit ();
g_free (proc_run.params);
_gimp_plug_in_read_expect_msg (pdb->priv->plug_in, &msg, GP_PROC_RETURN);
proc_return = msg.data;