fixed bug where a header was freed when it shouldn't have been
authorewt <devnull@localhost>
Fri, 29 Mar 1996 19:25:17 +0000 (19:25 +0000)
committerewt <devnull@localhost>
Fri, 29 Mar 1996 19:25:17 +0000 (19:25 +0000)
CVS patchset: 497
CVS date: 1996/03/29 19:25:17

lib/package.c

index fa525e9..7aaecee 100644 (file)
@@ -54,7 +54,6 @@ int pkgReadHeader(int fd, Header * hdr, int * isSource) {
            }
            *hdr = readHeader(fd);
            if (! *hdr) return 2;
-           freeHeader(*hdr);
        }
     } else {
        if (lead.major == 1) {