Skip to content
Permalink
Browse files

fix invalid call to gdFree (#3942)

  • Loading branch information...
tbonfort committed Sep 30, 2012
1 parent d3f2949 commit 15021c65cd2c278cfde0e785e55ad8afa8b43186
Showing with 1 addition and 1 deletion.
  1. +1 −1 mapscript/php/image.c
@@ -333,7 +333,7 @@ PHP_METHOD(imageObj, saveImage)
php_write(iptr, size TSRMLS_CC);
status = MS_SUCCESS;
/* status = size; why should we return the size ?? */
gdFree(iptr);
msFree(iptr);
}

RETURN_LONG(status);

0 comments on commit 15021c6

Please sign in to comment.
You can’t perform that action at this time.