diff --git a/lib/plist_fetch.c b/lib/plist_fetch.c index d87f5fa6..a3fe30bc 100644 --- a/lib/plist_fetch.c +++ b/lib/plist_fetch.c @@ -101,6 +101,7 @@ open_archive_by_url(struct url *url) if (archive_read_open(a, f, fetch_archive_open, fetch_archive_read, fetch_archive_close)) { + free(f); archive_read_finish(a); return NULL; }