cvs: /php3/functions pdf.c
| From: | Uwe Steinmann | Date: | Fri, 16 Jul 1999 07:27:12 +0000 |
| Subject: | cvs: /php3/functions pdf.c | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-8577@lists.php.net to get a copy of this message | ||
steinm Fri Jul 16 07:27:12 1999 EDT
Modified files:
/php3/functions pdf.c
Log:
cleanup as suggested in bug #1724, the actual bug was fixed before
Index: php3/functions/pdf.c
diff -u php3/functions/pdf.c:1.40 php3/functions/pdf.c:1.41
--- php3/functions/pdf.c:1.40 Wed Jul 14 02:54:45 1999
+++ php3/functions/pdf.c Fri Jul 16 07:27:11 1999
@@ -27,7 +27,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: pdf.c,v 1.40 1999/07/14 06:54:45 steinm Exp $ */
+/* $Id: pdf.c,v 1.41 1999/07/16 11:27:11 steinm Exp $ */
/* pdflib 0.6 is subject to the ALADDIN FREE PUBLIC LICENSE.
Copyright (C) 1997 Thomas Merz. */
@@ -208,11 +208,9 @@
static void _free_pdf_doc(PDF *pdf)
{
-#if HAVE_PDFLIB2
PDF_close(pdf);
+#if HAVE_PDFLIB2
PDF_delete(pdf);
-#else
- PDF_close(pdf);
#endif
}