summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/tak.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tak.c b/src/tak.c
index d92123a..e970ae1 100644
--- a/src/tak.c
+++ b/src/tak.c
@@ -98,6 +98,7 @@ static char *read_stream(FILE *stream, size_t *sz) {
}
}
+ res = realloc(res, *sz);
return res;
}