aboutsummaryrefslogtreecommitdiff
path: root/src/testing
diff options
context:
space:
mode:
authorSree Harsha Totakura <totakura@in.tum.de>2012-11-05 19:21:11 +0000
committerSree Harsha Totakura <totakura@in.tum.de>2012-11-05 19:21:11 +0000
commit383eba3a9bd931c5b538bf3c1d676ae0161f71dc (patch)
tree9de5b6404ddfe5a527f6431c45ecb2bed03328a1 /src/testing
parent7f54be6572be560f2ca9786a72f355dae86ad51d (diff)
downloadgnunet-383eba3a9bd931c5b538bf3c1d676ae0161f71dc.tar.gz
gnunet-383eba3a9bd931c5b538bf3c1d676ae0161f71dc.zip
coverity fixes
Diffstat (limited to 'src/testing')
-rw-r--r--src/testing/testing.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/testing/testing.c b/src/testing/testing.c
index f4df6d48c..d534a0051 100644
--- a/src/testing/testing.c
+++ b/src/testing/testing.c
@@ -614,6 +614,8 @@ update_config (void *cls, const char *section, const char *option,
614 if (0 == new_port) 614 if (0 == new_port)
615 { 615 {
616 uc->status = GNUNET_SYSERR; 616 uc->status = GNUNET_SYSERR;
617 GNUNET_free (single_variable);
618 GNUNET_free (per_host_variable);
617 return; 619 return;
618 } 620 }
619 GNUNET_snprintf (cval, sizeof (cval), "%u", new_port); 621 GNUNET_snprintf (cval, sizeof (cval), "%u", new_port);