Skip to content

Commit

Permalink
fix memleaks
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaozg committed Feb 25, 2024
1 parent 20e3cc6 commit f697c62
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/handle.c
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,8 @@ static void luv_close_cb(uv_handle_t* handle) {
if(data->ref > 0) {
luv_call_callback(L, data, LUV_CLOSED, 0);
luv_unref_handle(L, data);
} else {
luv_handle_free(handle);
}
}

Expand Down

0 comments on commit f697c62

Please sign in to comment.