sony / nmos-cpp

An NMOS (Networked Media Open Specifications) Registry and Node in C++ (IS-04, IS-05)
Apache License 2.0
136 stars 80 forks source link

Fix advertiser service #368

Closed lo-simon closed 5 months ago

lo-simon commented 5 months ago

Thank you to Niitsu Keita-san from Sony, who has pointed out that the newly created client (the _DNSServiceRef_t*) will not be reflected to the outside function. In this case, the client will not be released when the advertiser is destructed, i.e., causing a memory leak.