summaryrefslogtreecommitdiff
path: root/src/wire/plugin_wire_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/wire/plugin_wire_test.c')
-rw-r--r--src/wire/plugin_wire_test.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/wire/plugin_wire_test.c b/src/wire/plugin_wire_test.c
index e9d5ad085..1a7443b8a 100644
--- a/src/wire/plugin_wire_test.c
+++ b/src/wire/plugin_wire_test.c
@@ -872,7 +872,6 @@ bhist_cb (void *cls,
NULL,
0,
NULL);
- whh->hh = NULL;
GNUNET_free (whh);
break;
default:
@@ -885,7 +884,6 @@ bhist_cb (void *cls,
NULL,
0,
NULL);
- whh->hh = NULL;
GNUNET_free (whh);
break;
}
@@ -970,6 +968,7 @@ test_get_history (void *cls,
GNUNET_free (whh);
return NULL;
}
+
return whh;
}