mirror of https://github.com/GNOME/gimp.git
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
|
@ -730,6 +730,10 @@ gimp_prop_eval_string_selection (GObject *config,
|
||||||
match = TRUE;
|
match = TRUE;
|
||||||
result = value;
|
result = value;
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
g_free (value);
|
||||||
|
}
|
||||||
|
|
||||||
if (! g_strcmp0 (*t, ","))
|
if (! g_strcmp0 (*t, ","))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue