Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#29 patch for avoiding memory leaks when add devices

open
nobody
None
5
2009-03-30
2009-03-30
yongquan kang
No

each time a device been added, UpnpInit() is called, on exit, UpnpFinish() is called, but the memories allocated by ThreadPoolInit() may lost because there's no code to call ThreadPoolShutdown() to release the memories. And inet_ntoa() is not thread safe, so in my patch, I substitute inet_ntoa() with inet_ntop(). Your comments are welcome, thank you!

Discussion

  • yongquan kang
    yongquan kang
    2009-03-30

    patch for libupnp_1.6.0

     
    Attachments