diff options
Diffstat (limited to 'libopkg/pkg_extract.c')
-rw-r--r-- | libopkg/pkg_extract.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libopkg/pkg_extract.c b/libopkg/pkg_extract.c index 0649b94..f972182 100644 --- a/libopkg/pkg_extract.c +++ b/libopkg/pkg_extract.c @@ -136,6 +136,8 @@ int pkg_extract_data_file_names_to_file(pkg_t *pkg, const char *file_name) } else { fputs(data_file, file); } + free(line); + line=NULL; } } fclose(tmp); |