diff options
Diffstat (limited to 'src/basic/fileio.c')
-rw-r--r-- | src/basic/fileio.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/basic/fileio.c b/src/basic/fileio.c index 2cec054610..16034fb9e8 100644 --- a/src/basic/fileio.c +++ b/src/basic/fileio.c @@ -359,6 +359,7 @@ int read_full_stream_full( } memcpy_safe(t, buf, n); explicit_bzero_safe(buf, n); + buf = mfree(buf); } else { t = realloc(buf, n_next + 1); if (!t) |