app: free an unusing allocated string when not used as a result.
Another leak reported by Massimo.
This commit is contained in:
parent
ef56fed9cb
commit
025cebf76f
1 changed files with 4 additions and 0 deletions
|
|
@ -730,6 +730,10 @@ gimp_prop_eval_string_selection (GObject *config,
|
|||
match = TRUE;
|
||||
result = value;
|
||||
}
|
||||
else
|
||||
{
|
||||
g_free (value);
|
||||
}
|
||||
|
||||
if (! g_strcmp0 (*t, ","))
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue