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

index 6797a665133826bef17d85d96947b4dc022e55d5..ea03b4476d845f8fe31bf768f3110ac63d13cd3c 100644 (file)
@@ -3943,13 +3943,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);
        }