Date: Sat, 23 Jan 2010 07:55:53 +0000 (UTC) From: Tim Kientzle <kientzle@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/lib/libarchive archive_read_support_format_iso9660.c Message-ID: <201001230756.o0N7uCiX007264@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kientzle 2010-01-23 07:55:53 UTC
FreeBSD src repository
Modified files:
lib/libarchive archive_read_support_format_iso9660.c
Log:
SVN rev 202872 on 2010-01-23 07:55:53Z by kientzle
Use a simpler memory-management strategy for the file objects.
Instead of trying to reference-count them and free them as soon
as they are no longer needed, we now just keep them around and free
them all when we release the archive object. This fixes a number
of minor memory leaks, especially when reading damaged archives.
Revision Changes Path
1.40 +23 -46 src/lib/libarchive/archive_read_support_format_iso9660.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201001230756.o0N7uCiX007264>
