diff options
Diffstat (limited to 'src/librc')
-rw-r--r-- | src/librc/librc-misc.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |