aboutsummaryrefslogtreecommitdiff
path: root/src/htbt.h
diff options
context:
space:
mode:
authorDavid Timber <mieabby@gmail.com>2020-09-15 20:04:13 +0930
committerDavid Timber <mieabby@gmail.com>2020-09-15 20:04:13 +0930
commitca0c9a60b0f7dc823ff01f77fc00458ab4a13532 (patch)
treef361382866540b5666a74084133cd2fb51f16e71 /src/htbt.h
parentd06a39d44741355e96ee96d8f760b995f35abaed (diff)
* Code consistency - take *_param_t as pointer
* Fix *_param_t leak and memory error
Diffstat (limited to 'src/htbt.h')
-rw-r--r--src/htbt.h2
1 files changed, 1 insertions, 1 deletions
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);