aboutsummaryrefslogtreecommitdiff
path: root/src/wire/plugin_wire_test.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-11-20 21:55:24 +0100
committerChristian Grothoff <christian@grothoff.org>2017-11-20 21:55:24 +0100
commit7749a683ba602cf13ed160c6ed63d668adbf4b1c (patch)
treecba999e1f9bd2c8ccd445a2a5202e61c01f2a7cd /src/wire/plugin_wire_test.c
parent11269125fa994d412c2afa38314ea21b43222266 (diff)
fix issue in wire auditor's history processing
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;
}