Make values static to avoid returning bogus ptr

God knows how many other plug-ins have this.
This commit is contained in:
Mukund Sivaraman 2010-09-30 23:14:56 +05:30
parent 14f9074675
commit cad6ba9b94
1 changed files with 1 additions and 1 deletions

View File

@ -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;