From 1df3ab05b55222b8de176132b87baca1fc2a72d7 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Mon, 19 May 2008 13:41:16 +0000 Subject: realloc -> xrealloc --- src/librc/librc-misc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/librc') diff --git a/src/librc/librc-misc.c b/src/librc/librc-misc.c index 1ae3a283..5cde2028 100644 --- a/src/librc/librc-misc.c +++ b/src/librc/librc-misc.c @@ -62,7 +62,7 @@ ssize_t rc_getline(char **line, size_t *len, FILE *fp) while(!feof(fp)) { if (*line == NULL || last != 0) { *len += BUFSIZ; - *line = realloc(*line, *len); + *line = xrealloc(*line, *len); } p = *line + last; memset(p, 0, BUFSIZ); -- cgit v1.2.3