summaryrefslogtreecommitdiff
path: root/ext/interbase/php_ibase_udf.c
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2007-05-28 23:33:13 +0000
committerIlia Alshanetsky <iliaa@php.net>2007-05-28 23:33:13 +0000
commit3821f0c45acc490e6b5d80494f74798049e9cd15 (patch)
tree9d25df9de8d1c974f4e5201984bb98d2d6835732 /ext/interbase/php_ibase_udf.c
parentde573ba7ff35e1d9f338e574067997745db54352 (diff)
downloadphp-git-3821f0c45acc490e6b5d80494f74798049e9cd15.tar.gz
MFB
Diffstat (limited to 'ext/interbase/php_ibase_udf.c')
-rw-r--r--ext/interbase/php_ibase_udf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/interbase/php_ibase_udf.c b/ext/interbase/php_ibase_udf.c
index 2c572202e8..3451200059 100644
--- a/ext/interbase/php_ibase_udf.c
+++ b/ext/interbase/php_ibase_udf.c
@@ -145,7 +145,7 @@ static void __attribute__((destructor)) fini()
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)