From ae3616fba8fa2e2dc1abf89c6508e67820a66f1d Mon Sep 17 00:00:00 2001 From: Rasmus Lerdorf Date: Wed, 2 Apr 2003 22:06:46 +0000 Subject: [PATCH] Get rid of bogus dtors --- ext/exif/exif.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/ext/exif/exif.c b/ext/exif/exif.c index a31c609029..4fedaacbc3 100644 --- a/ext/exif/exif.c +++ b/ext/exif/exif.c @@ -4035,13 +4035,10 @@ PHP_FUNCTION(exif_thumbnail) if (!ImageInfo.Thumbnail.width || !ImageInfo.Thumbnail.height) { exif_scan_thumbnail(&ImageInfo TSRMLS_CC); } - zval_dtor(*p_width); - zval_dtor(*p_height); ZVAL_LONG(*p_width, ImageInfo.Thumbnail.width); ZVAL_LONG(*p_height, ImageInfo.Thumbnail.height); } if (arg_c >= 4) { - zval_dtor(*p_imagetype); ZVAL_LONG(*p_imagetype, ImageInfo.Thumbnail.filetype); } -- 2.50.1