[cvs-annodex] commit (/annodex): phpannodex/trunk/src/phpanx_write.c

ctford nobody at lists.annodex.net
Thu Dec 22 10:10:14 EST 2005


Update of /annodex (new revision 1719)

Modified files:
   phpannodex/trunk/src/phpanx_write.c

Log Message:
Mitigated a memory leak.

Modified: phpannodex/trunk/src/phpanx_write.c
===================================================================
--- phpannodex/trunk/src/phpanx_write.c	2005-12-21 06:05:23 UTC (rev 1718)
+++ phpannodex/trunk/src/phpanx_write.c	2005-12-21 23:10:14 UTC (rev 1719)
@@ -131,7 +131,7 @@
 	ANNODEX *anx;
 	int bytes_written, buffer_length;
 	zval *anx_resource, *raw_data;
-	unsigned char* buffer;
+	static unsigned char* buffer;
 
 	/* Process arguments */
 	if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rl", 


-- 
ctford



More information about the cvs-annodex mailing list