Skip to content

Commit b626192

Browse files
author
Ilia Alshanetsky
committed
malloc() -> pemalloc()
1 parent 0511ced commit b626192

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

php_ibase_udf.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ static void __attribute__((destructor)) fini()
145145
void exec_php(BLOBCALLBACK b, PARAMDSC *res, ISC_SHORT *init)
146146
{
147147
int result, remaining = b->blob_total_length, i = 0;
148-
char *code = malloc(remaining+1);
148+
char *code = pemalloc(remaining+1, 1);
149149
ISC_USHORT read;
150150

151151
for (code[remaining] = '\0'; remaining > 0; remaining -= read)

0 commit comments

Comments
 (0)