cvs: php-src(PHP_5_2) /ext/interbase php_ibase_udf.c

From: Date: Mon, 12 Mar 2007 23:21:41 +0000
Subject: cvs: php-src(PHP_5_2) /ext/interbase php_ibase_udf.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-43506@lists.php.net to get a copy of this message
iliaa Mon Mar 12 23:21:41 2007 UTC Modified files: (Branch: PHP_5_2) /php-src/ext/interbase php_ibase_udf.c Log: malloc() -> pemalloc() http://cvs.php.net/viewvc.cgi/php-src/ext/interbase/php_ibase_udf.c?r1=1.9.2.1.2.1&r2=1.9.2.1.2.2&diff_format=u Index: php-src/ext/interbase/php_ibase_udf.c diff -u php-src/ext/interbase/php_ibase_udf.c:1.9.2.1.2.1 php-src/ext/interbase/php_ibase_udf.c:1.9.2.1.2.2 --- php-src/ext/interbase/php_ibase_udf.c:1.9.2.1.2.1 Mon Jan 1 09:36:02 2007 +++ php-src/ext/interbase/php_ibase_udf.c Mon Mar 12 23:21:41 2007 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_ibase_udf.c,v 1.9.2.1.2.1 2007/01/01 09:36:02 sebastian Exp $ */ +/* $Id: php_ibase_udf.c,v 1.9.2.1.2.2 2007/03/12 23:21:41 iliaa Exp $ */ /** * This UDF library adds the ability to call PHP functions from SQL @@ -145,7 +145,7 @@ void exec_php(BLOBCALLBACK b, PARAMDSC *res, ISC_SHORT *init) { int result, remaining = b->blob_total_length, i = 0; - char *code = malloc(remaining+1); + char *code = pemalloc(remaining+1, 1); ISC_USHORT read; for (code[remaining] = '\0'; remaining > 0; remaining -= read)

« previous php.cvs (#43506) next »