summaryrefslogtreecommitdiff
path: root/image
diff options
context:
space:
mode:
Diffstat (limited to 'image')
-rw-r--r--image/mng.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/image/mng.c b/image/mng.c
index 396cd6b94..da8010912 100644
--- a/image/mng.c
+++ b/image/mng.c
@@ -601,6 +601,7 @@ static bool nsjpng_convert(struct content *c)
mng_retcode status;
unsigned long size;
char title[100];
+ mng_handle handle;
assert(c != NULL);
@@ -653,7 +654,7 @@ static bool nsjpng_convert(struct content *c)
/* free associated memory */
- mng_handle handle = mng->handle;
+ handle = mng->handle;
mng_cleanup(&handle);