summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRasmus Lerdorf <rasmus@php.net>2003-04-02 22:06:46 +0000
committerRasmus Lerdorf <rasmus@php.net>2003-04-02 22:06:46 +0000
commitae3616fba8fa2e2dc1abf89c6508e67820a66f1d (patch)
tree86cf30a917dd0a98797bce01c4bdb6d621b3e89f
parent50c22695cdc9b163428c366fa807e711dcadb550 (diff)
downloadphp-git-ae3616fba8fa2e2dc1abf89c6508e67820a66f1d.tar.gz
Get rid of bogus dtors
-rw-r--r--ext/exif/exif.c3
1 files changed, 0 insertions, 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);
}