Skip to content

Commit

Permalink
Fix pointer in delete thread
Browse files Browse the repository at this point in the history
  • Loading branch information
huitema committed Feb 13, 2024
1 parent 453d5a0 commit 383c45f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion picoquic/sockloop.c
Original file line number Diff line number Diff line change
Expand Up @@ -1131,7 +1131,7 @@ void picoquic_delete_network_thread(picoquic_network_thread_ctx_t* thread_ctx)
picoquic_close_network_wake_up(thread_ctx);
/* delete the thread */
if (thread_ctx->is_threaded) {
picoquic_delete_thread(thread_ctx->thread_id);
picoquic_delete_thread(&thread_ctx->thread_id);
}
/* Free the context */
free(thread_ctx);
Expand Down

0 comments on commit 383c45f

Please sign in to comment.