gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r9680 - GNUnet/src/applications/fs/gap


From: gnunet
Subject: [GNUnet-SVN] r9680 - GNUnet/src/applications/fs/gap
Date: Wed, 2 Dec 2009 21:29:22 +0100

Author: nevans
Date: 2009-12-02 21:29:21 +0100 (Wed, 02 Dec 2009)
New Revision: 9680

Modified:
   GNUnet/src/applications/fs/gap/test_gap_dv.c
Log:
missing free

Modified: GNUnet/src/applications/fs/gap/test_gap_dv.c
===================================================================
--- GNUnet/src/applications/fs/gap/test_gap_dv.c        2009-12-02 20:22:21 UTC 
(rev 9679)
+++ GNUnet/src/applications/fs/gap/test_gap_dv.c        2009-12-02 20:29:21 UTC 
(rev 9680)
@@ -277,7 +277,10 @@
   GNUNET_free (buf);
   GNUNET_disk_file_close(ectx, name, fd);
   if (ret == -1)
+  {
+    GNUNET_free(name);
     return ret;
+  }
 
   carry_on = GNUNET_NO;
   ctx = GNUNET_FSUI_start(ectx, cfg, "gnunet-insert", GNUNET_NO, 32, /* make 
configurable */
@@ -299,7 +302,7 @@
     GNUNET_FSUI_upload_stop(ul);
   }
   GNUNET_FSUI_stop(ctx);
-
+  GNUNET_free(name);
   return errorCode;
 }
 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]