]> granicus.if.org Git - php/commitdiff
MFH
authorIlia Alshanetsky <iliaa@php.net>
Mon, 2 Dec 2002 06:35:51 +0000 (06:35 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Mon, 2 Dec 2002 06:35:51 +0000 (06:35 +0000)
ext/pdf/pdf.c

index ce169f7bddd6c697477af9ce9653bc1749562dca..682daea17fc9bedea4a1c6ba1aacd3cbe4d62eaa 100644 (file)
@@ -276,8 +276,7 @@ static void custom_errorhandler(PDF *p, int type, const char *shortmsg)
                case PDF_SystemError:
                case PDF_UnknownError:
                default:
-                       if (p !=NULL) PDF_delete(p); /* clean up PDFlib */
-                       php_error(E_ERROR,"PDFlib error: %s", shortmsg);
+                       php_error(E_WARNING,"PDFlib error: %s", shortmsg);
                }
 }
 /* }}} */