gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r4027 - GNUnet/src/applications/fs/collection


From: grothoff
Subject: [GNUnet-SVN] r4027 - GNUnet/src/applications/fs/collection
Date: Sat, 23 Dec 2006 13:53:37 -0800 (PST)

Author: grothoff
Date: 2006-12-23 13:53:35 -0800 (Sat, 23 Dec 2006)
New Revision: 4027

Modified:
   GNUnet/src/applications/fs/collection/collectiontest.c
Log:
segv

Modified: GNUnet/src/applications/fs/collection/collectiontest.c
===================================================================
--- GNUnet/src/applications/fs/collection/collectiontest.c      2006-12-23 
21:52:51 UTC (rev 4026)
+++ GNUnet/src/applications/fs/collection/collectiontest.c      2006-12-23 
21:53:35 UTC (rev 4027)
@@ -53,6 +53,7 @@
     return -1;
   }
   sock = NULL;
+  meta = NULL;
 #if START_DAEMON
   daemon  = os_daemon_start(NULL,
                            cfg,
@@ -111,7 +112,8 @@
     CO_done();
     connection_destroy(sock);
   }
-  ECRS_freeMetaData(meta);
+  if (meta != NULL)
+    ECRS_freeMetaData(meta);
 #if START_DAEMON
   GE_ASSERT(NULL, OK == os_daemon_stop(NULL, daemon));
 #endif





reply via email to

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