From ca0c9a60b0f7dc823ff01f77fc00458ab4a13532 Mon Sep 17 00:00:00 2001 From: David Timber Date: Tue, 15 Sep 2020 20:04:13 +0930 Subject: * Code consistency - take *_param_t as pointer * Fix *_param_t leak and memory error --- src/htbt.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/htbt.h') diff --git a/src/htbt.h b/src/htbt.h index 6db9cba..becb62b 100644 --- a/src/htbt.h +++ b/src/htbt.h @@ -32,7 +32,7 @@ struct prne_htbt_param { }; -prne_htbt_t *prne_alloc_htbt (prne_worker_t *w, const prne_htbt_param_t param); +prne_htbt_t *prne_alloc_htbt (prne_worker_t *w, const prne_htbt_param_t *param); void prne_htbt_init_param (prne_htbt_param_t *p); void prne_htbt_free_param (prne_htbt_param_t *p); -- cgit