[BusyBox-cvs] busybox/archival/libunarchive get_header_tar.c, 1.25, 1.26
Glenn McGrath
bug1 at busybox.net
Sat Nov 15 00:24:47 UTC 2003
- Previous message: [BusyBox-cvs] busybox/shell ash.c,1.82,1.83
- Next message: [BusyBox-cvs] busybox/archival gunzip.c, 1.76, 1.77 rpm.c, 1.3, 1.4 rpm2cpio.c, 1.9, 1.10 unzip.c, 1.5, 1.6
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /var/cvs/busybox/archival/libunarchive
In directory winder:/tmp/cvs-serv25197/archival/libunarchive
Modified Files:
get_header_tar.c
Log Message:
Fix memory leaks
Index: get_header_tar.c
===================================================================
RCS file: /var/cvs/busybox/archival/libunarchive/get_header_tar.c,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -d -r1.25 -r1.26
--- get_header_tar.c 14 Nov 2003 12:57:14 -0000 1.25
+++ get_header_tar.c 15 Nov 2003 00:24:43 -0000 1.26
@@ -185,5 +185,8 @@
}
archive_handle->offset += file_header->size;
+ free(file_header->name);
+ free(file_header->link_name);
+
return(EXIT_SUCCESS);
}
- Previous message: [BusyBox-cvs] busybox/shell ash.c,1.82,1.83
- Next message: [BusyBox-cvs] busybox/archival gunzip.c, 1.76, 1.77 rpm.c, 1.3, 1.4 rpm2cpio.c, 1.9, 1.10 unzip.c, 1.5, 1.6
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the busybox-cvs
mailing list