Skip to content

Commit

Permalink
Merge pull request JuliaLang#10979 from garrison/memleak3
Browse files Browse the repository at this point in the history
Fix memory leak in jl_getaddrinfo
  • Loading branch information
vtjnash committed Apr 24, 2015
2 parents 54e9ed1 + 56aba01 commit cad0325
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/jl_uv.c
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@ DLLEXPORT void jl_uv_connectioncb(uv_stream_t *stream, int status)
DLLEXPORT void jl_uv_getaddrinfocb(uv_getaddrinfo_t *req,int status, struct addrinfo *addr)
{
JULIA_CB(getaddrinfo,req->data,2,CB_PTR,addr,CB_INT32,status);
free(req);
}

DLLEXPORT void jl_uv_asynccb(uv_handle_t *handle)
Expand Down

0 comments on commit cad0325

Please sign in to comment.