gdraheim / zziplib

The ZZIPlib provides read access on ZIP-archives and unpacked data. It features an additional simplified API following the standard Posix API for file access
Other
62 stars 50 forks source link

One more free() to avoid memory leak. #60

Closed jmoellers closed 6 years ago

jmoellers commented 6 years ago

When __zzip_parse_root_directory() does not assign hdr0 to *hdr_return because p_reclen is NULL, hdr0 must be free'd locally.