diff options
author | David Timber <mieabby@gmail.com> | 2020-09-17 19:00:28 +0930 |
---|---|---|
committer | David Timber <mieabby@gmail.com> | 2020-09-17 19:00:28 +0930 |
commit | e6953dcb47193746a4f4d9fff0193723fadbb3e6 (patch) | |
tree | b6fe802c3faf48ec7e294fa61207b4e9126fc3c1 /src/recon.c | |
parent | b54ace5cd8a873be804529f7b8221ee62600d17d (diff) |
* Change value types of containers to uintptr_t
* htbt: fix leak in `htbt_main_q_hover()`
* proone-recon: fix parse bug
Diffstat (limited to 'src/recon.c')
-rw-r--r-- | src/recon.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/recon.c b/src/recon.c index de63ace..4de734c 100644 --- a/src/recon.c +++ b/src/recon.c @@ -70,7 +70,7 @@ static void rcn_main_empty_ii_list (prne_recon_t *ctx) { prne_llist_entry_t *ent = ctx->ii_list.head; while (ent != NULL) { - prne_free(ent->element); + prne_free((void*)ent->element); ent = ent->next; } prne_llist_clear(&ctx->ii_list); @@ -133,7 +133,7 @@ static bool rcn_main_do_ifaddrs (prne_recon_t *ctx) { } /* fall-through */ case AF_INET: - ent = prne_llist_append(&ctx->ii_list, NULL); + ent = prne_llist_append(&ctx->ii_list, 0); if (ent == NULL) { goto END; } @@ -141,7 +141,7 @@ static bool rcn_main_do_ifaddrs (prne_recon_t *ctx) { if (info == NULL) { goto END; } - ent->element = info; + ent->element = (prne_llist_element_t)info; break; default: continue; } |