Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
tcp: fix handle reference for ipv6
  • Loading branch information
Ryan Phillips committed Jun 11, 2012
1 parent 12449bf commit 3c95ef6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/luv_tcp.c
Expand Up @@ -190,6 +190,8 @@ int luv_tcp_connect6(lua_State* L) {
return luaL_error(L, "tcp_connect6: %s", uv_strerror(err));
}

luv_handle_ref(L, handle->data, 1);

return 0;
}

0 comments on commit 3c95ef6

Please sign in to comment.