mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-26 09:26:48 +02:00
ac2d02c3e0
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12348 3c298f89-4303-0410-b956-a3cf2f4a3e73
35 lines
584 B
Diff
35 lines
584 B
Diff
--- a/archival/libipkg/pkg_extract.c
|
|
+++ b/archival/libipkg/pkg_extract.c
|
|
@@ -85,6 +85,7 @@
|
|
free(archive->buffer);
|
|
free(archive->accept);
|
|
free(archive);
|
|
+ unlink(name);
|
|
free(name);
|
|
|
|
return 0;
|
|
@@ -114,6 +115,7 @@
|
|
close(archive->src_fd);
|
|
free(archive);
|
|
free(path);
|
|
+ unlink(name);
|
|
free(name);
|
|
|
|
return 0;
|
|
@@ -138,6 +140,7 @@
|
|
close(archive->src_fd);
|
|
free(archive);
|
|
free(path);
|
|
+ unlink(name);
|
|
free(name);
|
|
|
|
return 0;
|
|
@@ -218,6 +221,7 @@
|
|
fputs(archive->buffer, file);
|
|
free(archive->buffer);
|
|
free(archive);
|
|
+ unlink(name);
|
|
free(name);
|
|
|
|
return 0;
|