gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r19776 - gnunet/src/util


From: gnunet
Subject: [GNUnet-SVN] r19776 - gnunet/src/util
Date: Mon, 13 Feb 2012 14:08:28 +0100

Author: grothoff
Date: 2012-02-13 14:08:28 +0100 (Mon, 13 Feb 2012)
New Revision: 19776

Modified:
   gnunet/src/util/common_logging.c
   gnunet/src/util/os_installation.c
Log:
-use GNUNET_free instead of free

Modified: gnunet/src/util/common_logging.c
===================================================================
--- gnunet/src/util/common_logging.c    2012-02-13 12:22:52 UTC (rev 19775)
+++ gnunet/src/util/common_logging.c    2012-02-13 13:08:28 UTC (rev 19776)
@@ -456,7 +456,7 @@
           from_line = strtol (start, &t, 10);
           if (errno != 0 || from_line < 0)
           {
-            free (def);
+            GNUNET_free (def);
             return counter;
           }
           if (t < p && t[0] == '-')
@@ -466,7 +466,7 @@
             to_line = strtol (start, &t, 10);
             if (errno != 0 || to_line < 0 || t != p)
             {
-              free (def);
+              GNUNET_free (def);
               return counter;
             }
           }
@@ -498,7 +498,7 @@
             0 != add_definition (comp, file, function, from_line, to_line,
                                  level, force))
         {
-          free (def);
+          GNUNET_free (def);
           return counter;
         }
         counter += 1;
@@ -511,7 +511,7 @@
       break;
     }
   }
-  free (def);
+  GNUNET_free (def);
   return counter;
 }
 

Modified: gnunet/src/util/os_installation.c
===================================================================
--- gnunet/src/util/os_installation.c   2012-02-13 12:22:52 UTC (rev 19775)
+++ gnunet/src/util/os_installation.c   2012-02-13 13:08:28 UTC (rev 19776)
@@ -471,7 +471,7 @@
     GNUNET_free (p);
     p = pf;
   }
-  free (binaryexe);
+  GNUNET_free (binaryexe);
 #else
   p = get_path_from_PATH (binary);
   if (p != NULL)




reply via email to

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