Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

topoh: uses socket IP when no mask_ip is defined #3341

Merged
merged 5 commits into from Nov 27, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/modules/topoh/topoh_mod.c
Expand Up @@ -236,6 +236,11 @@ static int mod_init(void)
#endif
return 0;
error:
if(th_socket_hash_table != NULL && th_socket_hash_table->table)
pkg_free(th_socket_hash_table->table);

if(th_socket_hash_table != NULL)
pkg_free( th_socket_hash_table );
return -1;
}

Expand Down