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

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



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;
              }


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