commit | 3a2d461e14c513e58406ca981cf219bd8f25bbb8 | [log] [tgz] |
---|---|---|
author | Michal Vasko <mvasko@cesnet.cz> | Fri Aug 16 15:55:15 2024 +0200 |
committer | Michal Vasko <mvasko@cesnet.cz> | Fri Aug 16 15:55:15 2024 +0200 |
tree | 2aa442affcc56fb8430274097c69727e04812f0c | |
parent | 2addf21530ad465e7c2a840d743e39ba51e3f43a [diff] [blame] |
hash table BUGFIX init out params
diff --git a/src/hash_table.c b/src/hash_table.c index 88531a9..8b83194 100644 --- a/src/hash_table.c +++ b/src/hash_table.c
@@ -285,6 +285,10 @@ { struct ly_ht_rec *rec; + if (match_p) { + *match_p = NULL; + } + lyht_find_rec(ht, val_p, hash, 0, ht->val_equal, NULL, &rec); if (rec && match_p) {