
Hi, I had found some bugs about memory leak on libupnp-1.6.18. It may lead to memory leak when calling ThreadPoolAdd() or ThreadPoolAddPersistent() which does not return 0. See the attachment for patch. (cherry picked from commit 8e3a71905bc763332da9531285c507c2470989ae) Conflicts: upnp/src/ssdp/ssdp_ctrlpt.c