]> granicus.if.org Git - php/commitdiff
Get rid of bogus dtors
authorRasmus Lerdorf <rasmus@php.net>
Wed, 2 Apr 2003 22:06:46 +0000 (22:06 +0000)
committerRasmus Lerdorf <rasmus@php.net>
Wed, 2 Apr 2003 22:06:46 +0000 (22:06 +0000)
ext/exif/exif.c

index a31c6090296e2d69a36c9c4f6a9d465fe5e91cc9..4fedaacbc3b0aa76b9b7c26610452b566e0798a6 100644 (file)
@@ -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);
        }