diff options
author | Roy Marples <roy@marples.name> | 2008-05-19 13:41:16 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2008-05-19 13:41:16 +0000 |
commit | 1df3ab05b55222b8de176132b87baca1fc2a72d7 (patch) | |
tree | e0c627f2159f4334cc3c1bbd0b2fa1359754f556 /src | |
parent | 775df18a70cacb4857be43335c13d2c7a8013d6a (diff) |
realloc -> xrealloc
Diffstat (limited to 'src')
-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); |