diff options
author | bug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2003-11-15 00:24:43 +0000 |
---|---|---|
committer | bug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2003-11-15 00:24:43 +0000 |
commit | 99b184aaae050c3613f7e34dad61c8f21cfa63ac (patch) | |
tree | 6de14e02bd8b8846fc62651233c116cfc8c95ab5 /archival | |
parent | 7055be0826521b36cdd7f7c9f0e9e633deb6a843 (diff) | |
download | busybox-w32-99b184aaae050c3613f7e34dad61c8f21cfa63ac.tar.gz busybox-w32-99b184aaae050c3613f7e34dad61c8f21cfa63ac.tar.bz2 busybox-w32-99b184aaae050c3613f7e34dad61c8f21cfa63ac.zip |
Fix memory leaks
git-svn-id: svn://busybox.net/trunk/busybox@7916 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'archival')
-rw-r--r-- | archival/libunarchive/get_header_tar.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/archival/libunarchive/get_header_tar.c b/archival/libunarchive/get_header_tar.c index cf5ac6b62..97536c988 100644 --- a/archival/libunarchive/get_header_tar.c +++ b/archival/libunarchive/get_header_tar.c | |||
@@ -185,5 +185,8 @@ extern char get_header_tar(archive_handle_t *archive_handle) | |||
185 | } | 185 | } |
186 | archive_handle->offset += file_header->size; | 186 | archive_handle->offset += file_header->size; |
187 | 187 | ||
188 | free(file_header->name); | ||
189 | free(file_header->link_name); | ||
190 | |||
188 | return(EXIT_SUCCESS); | 191 | return(EXIT_SUCCESS); |
189 | } | 192 | } |