- Fixed killing of random processes on shutdown
authorBart Polot <bart@net.in.tum.de>
Fri, 4 May 2012 10:14:25 +0000 (10:14 +0000)
committerBart Polot <bart@net.in.tum.de>
Fri, 4 May 2012 10:14:25 +0000 (10:14 +0000)
src/testing/testing.c

index d52aa0e4e18b14db85deb0de28aca887acc5ef49..e2b1e684fc1b9d6196ff7567d5641e50c2b1f83c 100644 (file)
@@ -644,6 +644,8 @@ start_fsm (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
     d->phase = SP_START_DONE;
     if (NULL != cb)
       cb (d->cb_cls, &d->id, d->cfg, d, NULL);
+    GNUNET_free (d->proc_arm_srv_start);
+    d->proc_arm_srv_start = NULL;
     break;
   case SP_SERVICE_SHUTDOWN_START:
     /* confirm copying complete */