mirror of https://github.com/GNOME/gimp.git
Make values static to avoid returning bogus ptr
God knows how many other plug-ins have this.
This commit is contained in:
parent
14f9074675
commit
cad6ba9b94
|
@ -118,7 +118,7 @@ run (const gchar *name,
|
|||
gint *nreturn_vals,
|
||||
GimpParam **return_vals)
|
||||
{
|
||||
GimpParam values[1];
|
||||
static GimpParam values[1];
|
||||
GimpPDBStatusType status = GIMP_PDB_SUCCESS;
|
||||
|
||||
*nreturn_vals = 1;
|
||||
|
|
Loading…
Reference in New Issue