diff options
author | Sree Harsha Totakura <totakura@in.tum.de> | 2012-07-27 15:06:18 +0000 |
---|---|---|
committer | Sree Harsha Totakura <totakura@in.tum.de> | 2012-07-27 15:06:18 +0000 |
commit | 148e13ab141f621aed607138ad5779115572a320 (patch) | |
tree | 81bb74b763516278df5e2b6a50cf19b3fe4d5d1b /src/testbed | |
parent | 64967935cfb4a8be658ef1332e06cf16435d415f (diff) | |
download | gnunet-148e13ab141f621aed607138ad5779115572a320.tar.gz gnunet-148e13ab141f621aed607138ad5779115572a320.zip |
fixes
Diffstat (limited to 'src/testbed')
-rw-r--r-- | src/testbed/gnunet-service-testbed.c | 2 | ||||
-rw-r--r-- | src/testbed/testbed_api_hosts.c | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/testbed/gnunet-service-testbed.c b/src/testbed/gnunet-service-testbed.c index 81ca312e0..31112ce00 100644 --- a/src/testbed/gnunet-service-testbed.c +++ b/src/testbed/gnunet-service-testbed.c | |||
@@ -1115,6 +1115,7 @@ handle_link_controllers (void *cls, | |||
1115 | LOG (GNUNET_ERROR_TYPE_WARNING, "Uncompressed config size mismatch\n"); | 1115 | LOG (GNUNET_ERROR_TYPE_WARNING, "Uncompressed config size mismatch\n"); |
1116 | GNUNET_free (config); | 1116 | GNUNET_free (config); |
1117 | GNUNET_SERVER_receive_done (client, GNUNET_SYSERR); | 1117 | GNUNET_SERVER_receive_done (client, GNUNET_SYSERR); |
1118 | return; | ||
1118 | } | 1119 | } |
1119 | cfg = GNUNET_CONFIGURATION_create (); /* Free here or in lcfcontext */ | 1120 | cfg = GNUNET_CONFIGURATION_create (); /* Free here or in lcfcontext */ |
1120 | if (GNUNET_OK != GNUNET_CONFIGURATION_deserialize (cfg, config, config_size, | 1121 | if (GNUNET_OK != GNUNET_CONFIGURATION_deserialize (cfg, config, config_size, |
@@ -1279,6 +1280,7 @@ handle_peer_create (void *cls, | |||
1279 | { | 1280 | { |
1280 | LOG (GNUNET_ERROR_TYPE_WARNING, "Configuring peer failed: %s\n", emsg); | 1281 | LOG (GNUNET_ERROR_TYPE_WARNING, "Configuring peer failed: %s\n", emsg); |
1281 | GNUNET_free (emsg); | 1282 | GNUNET_free (emsg); |
1283 | GNUNET_free (peer); | ||
1282 | GNUNET_break (0); | 1284 | GNUNET_break (0); |
1283 | GNUNET_SERVER_receive_done (client, GNUNET_SYSERR); | 1285 | GNUNET_SERVER_receive_done (client, GNUNET_SYSERR); |
1284 | return; | 1286 | return; |
diff --git a/src/testbed/testbed_api_hosts.c b/src/testbed/testbed_api_hosts.c index 384acc570..f4cc6fc6b 100644 --- a/src/testbed/testbed_api_hosts.c +++ b/src/testbed/testbed_api_hosts.c | |||
@@ -35,7 +35,6 @@ | |||
35 | 35 | ||
36 | #include "testbed_api.h" | 36 | #include "testbed_api.h" |
37 | #include "testbed_api_hosts.h" | 37 | #include "testbed_api_hosts.h" |
38 | #include "testbed_helper.h" | ||
39 | 38 | ||
40 | /** | 39 | /** |
41 | * Generic logging shorthand | 40 | * Generic logging shorthand |