http://stackoverflow.com/questions/30046114/memory-leak-in-hiredis-using-valgrind

I ran valgrind on my code which uses hiredis, it points out the following 
individual lines in my code :

   - redisAsyncConnect()
   - redisAsyncConnectUnix()
   - redisLibuvAttach()
   - uv_loop_new()

I have used 'redisAsyncDisconnect' to free up the memory for the first two 
cases, couldn't find the right method for third one. For the fourth one i 
used uv_stop(). But still valgrind says there is definitely a loss in 
memory in all the four, what is the right way to release the memory ?

-- 
You received this message because you are subscribed to the Google Groups 
"libuv" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/libuv.
For more options, visit https://groups.google.com/d/optout.

Reply via email to