Patch from Randolfe Averty to fixup package conflict checks, cleanup some memory leaks and reorganise dependency checking.

Some further memory leaks fixed by me.
This commit is contained in:
Glenn L McGrath
2002-05-29 13:45:34 +00:00
parent 1d4ef2a9e9
commit a94a06a38e
2 changed files with 127 additions and 75 deletions

View File

@@ -192,7 +192,9 @@ char *extract_archive(FILE *src_stream, FILE *out_stream, const file_header_t *f
fprintf(out_stream, "%s\n", full_name);
}
free(full_name);
if (prefix != NULL) {
free(full_name);
}
return(NULL); /* Maybe we should say if failed */
}