summaryrefslogtreecommitdiffstats
path: root/gettext-tools/src/x-perl.c
diff options
context:
space:
mode:
Diffstat (limited to 'gettext-tools/src/x-perl.c')
-rw-r--r--gettext-tools/src/x-perl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gettext-tools/src/x-perl.c b/gettext-tools/src/x-perl.c
index 4cb058b..4886926 100644
--- a/gettext-tools/src/x-perl.c
+++ b/gettext-tools/src/x-perl.c
@@ -286,7 +286,7 @@ get_here_document (const char *delimiter)
/* Allocate the initial buffer. Later on, bufmax > 0. */
if (bufmax == 0)
{
- buffer = xrealloc (NULL, 1);
+ buffer = (char *) xmalloc (1);
buffer[0] = '\0';
bufmax = 1;
}