diff options
Diffstat (limited to 'download.c')
-rw-r--r-- | download.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -172,8 +172,6 @@ download(struct kreq * r) end: if (f != NULL && f->size > 0) munmap(buffer, f->size); - if (f != NULL) - free(f); - + file_free(f); return ret; } |