summaryrefslogtreecommitdiff
path: root/ext/interbase/php_ibase_udf.c
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2007-03-12 23:21:41 +0000
committerIlia Alshanetsky <iliaa@php.net>2007-03-12 23:21:41 +0000
commitc8293149632234770916739b4551f09143dbcfc4 (patch)
tree614f2533b6d1b2ed0bf0a8424a2c7937fb85bb79 /ext/interbase/php_ibase_udf.c
parent165f44c9c3806169c1dcaf6c968a0621a7d3d35e (diff)
downloadphp-git-c8293149632234770916739b4551f09143dbcfc4.tar.gz
malloc() -> pemalloc()
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)