diff --git a/src/test/isolation/specscanner.l b/src/test/isolation/specscanner.l index bf74051c07a..e070308d485 100644 --- a/src/test/isolation/specscanner.l +++ b/src/test/isolation/specscanner.l @@ -42,7 +42,7 @@ comment ("#"{non_newline}*) %% %{ - litbuf = pg_malloc(LITBUF_INIT); + litbuf = malloc(LITBUF_INIT); litbufsize = LITBUF_INIT; %} @@ -108,7 +108,7 @@ addlitchar(char c) { /* Double the size of litbuf if it gets full */ litbufsize += litbufsize; - litbuf = pg_realloc(litbuf, litbufsize); + litbuf = realloc(litbuf, litbufsize); } litbuf[litbufpos++] = c; }