diff options
| author | Martin Sivak <msivak@redhat.com> | 2010-01-19 13:53:42 +0100 |
|---|---|---|
| committer | Martin Sivak <msivak@redhat.com> | 2010-01-20 10:51:49 +0100 |
| commit | 85f182da238d7433409deb9519a1f1a87fb5cca3 (patch) | |
| tree | 91a8d97bb88e9a4a8f3d5087a3f5ef636fda739a /loader | |
| parent | afc768ea6928000cbef46ce2477979459a160b92 (diff) | |
| download | anaconda-85f182da238d7433409deb9519a1f1a87fb5cca3.tar.gz anaconda-85f182da238d7433409deb9519a1f1a87fb5cca3.tar.xz anaconda-85f182da238d7433409deb9519a1f1a87fb5cca3.zip | |
Remove unnecessary free from the rpmextract error handler
libarchive lacks proper documentation of its memory management, but
it seems that it takes care of freeing the memory itself. So remove the
bogus free from our code.
Diffstat (limited to 'loader')
| -rw-r--r-- | loader/rpmextract.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/loader/rpmextract.c b/loader/rpmextract.c index 64d5d7d3f..90af54c1e 100644 --- a/loader/rpmextract.c +++ b/loader/rpmextract.c @@ -282,7 +282,6 @@ int explodeRPM(const char *source, FILE *fdout = fopen(filename+offset, "w"); if (fdout==NULL){ - free((void*)filename); rc = 33; break; } |
