aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/transport/test_http_common.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/transport/test_http_common.c b/src/transport/test_http_common.c
index 80b7cbc5b9..d1d0503a83 100644
--- a/src/transport/test_http_common.c
+++ b/src/transport/test_http_common.c
@@ -228,17 +228,18 @@ main (int argc, char *argv[])
if (NULL != spa)
{
clean (spa);
+ spa = NULL;
GNUNET_break (0);
}
- http_split_address ("http://");
+ spa = http_split_address ("http://");
if (NULL != spa)
{
clean (spa);
GNUNET_break (0);
}
- http_split_address ("://");
+ spa = http_split_address ("://");
if (NULL != spa)
{
clean (spa);