Re: [PATCH] Remove unnecessary free from the rpmextract error handler

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

And again no meaningfull commit message, if I followed the
discussion this free is no unnecessary, it is plain wrong!

Regards,

Hans


On 01/19/2010 01:54 PM, Martin Sivak wrote:
---
  loader/rpmextract.c |    1 -
  1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/loader/rpmextract.c b/loader/rpmextract.c
index 64d5d7d..90af54c 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;
              }

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux