Commit 15cf0e96 authored by Michael Natterer's avatar Michael Natterer 😴

app: don't leak all GParamSpecs of GimpProcedures

parent 76638a6c
......@@ -523,8 +523,7 @@ gimp_procedure_add_argument (GimpProcedure *procedure,
procedure->args[procedure->num_args] = pspec;
g_param_spec_ref (pspec);
g_param_spec_sink (pspec);
g_param_spec_ref_sink (pspec);
procedure->num_args++;
}
......@@ -541,8 +540,7 @@ gimp_procedure_add_return_value (GimpProcedure *procedure,
procedure->values[procedure->num_values] = pspec;
g_param_spec_ref (pspec);
g_param_spec_sink (pspec);
g_param_spec_ref_sink (pspec);
procedure->num_values++;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment