fix #232, set output argument dst to NULL on errror

master
Pierre Joye 2016-06-15 17:57:50 +07:00
parent 02c6925404
commit 81d94b1c66
1 changed files with 0 additions and 1 deletions

View File

@ -1899,7 +1899,6 @@ BGD_DECLARE(int) gdTransformAffineGetImage(gdImagePtr *dst,
m);
if (res != GD_TRUE) {
i
gdImageDestroy(*dst);
*dst = NULL;
return GD_FALSE;