projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c2c8ec
)
Fix memory leaks
author
Glenn L McGrath
<bug1@ihug.co.nz>
Sat, 15 Nov 2003 00:24:43 +0000
(
00:24
-0000)
committer
Glenn L McGrath
<bug1@ihug.co.nz>
Sat, 15 Nov 2003 00:24:43 +0000
(
00:24
-0000)
archival/libunarchive/get_header_tar.c
patch
|
blob
|
history
diff --git
a/archival/libunarchive/get_header_tar.c
b/archival/libunarchive/get_header_tar.c
index cf5ac6b62f444438747b2f6a38c02597dc04b129..97536c9887da8795ee40525a352efc117336636a 100644
(file)
--- 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)
}
archive_handle->offset += file_header->size;
+ free(file_header->name);
+ free(file_header->link_name);
+
return(EXIT_SUCCESS);
}