From cad6ba9b944af61438939aed3f54a7eb86d00424 Mon Sep 17 00:00:00 2001 From: Mukund Sivaraman Date: Thu, 30 Sep 2010 23:14:56 +0530 Subject: [PATCH] Make values static to avoid returning bogus ptr God knows how many other plug-ins have this. --- plug-ins/color-rotate/color-rotate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plug-ins/color-rotate/color-rotate.c b/plug-ins/color-rotate/color-rotate.c index b722239b6f..10a572b1a5 100644 --- a/plug-ins/color-rotate/color-rotate.c +++ b/plug-ins/color-rotate/color-rotate.c @@ -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;