diff options
| author | Ilia Alshanetsky <iliaa@php.net> | 2002-12-02 06:35:51 +0000 |
|---|---|---|
| committer | Ilia Alshanetsky <iliaa@php.net> | 2002-12-02 06:35:51 +0000 |
| commit | 3da7a2c23ee1b93c7b88651431705297565c838b (patch) | |
| tree | 6a47bbb614fab9b653aaf91d6591dbdacca3bca5 | |
| parent | f4e68f250490928c10d96e60343413d591ae366d (diff) | |
| download | php-git-3da7a2c23ee1b93c7b88651431705297565c838b.tar.gz | |
MFH
| -rw-r--r-- | ext/pdf/pdf.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/pdf/pdf.c b/ext/pdf/pdf.c index ce169f7bdd..682daea17f 100644 --- a/ext/pdf/pdf.c +++ b/ext/pdf/pdf.c @@ -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); } } /* }}} */ |
