From 7749a683ba602cf13ed160c6ed63d668adbf4b1c Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 20 Nov 2017 21:55:24 +0100 Subject: fix issue in wire auditor's history processing --- src/wire/plugin_wire_test.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/wire/plugin_wire_test.c') 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; } -- cgit v1.2.3