Commit b0b908ef authored by Simon Morlat's avatar Simon Morlat
Browse files

Avoid detection of false leaks due to the address cache.

parent 1d103c73
...@@ -21,6 +21,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. ...@@ -21,6 +21,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#include "c-wrapper/c-wrapper.h" #include "c-wrapper/c-wrapper.h"
#include "address/address-p.h"
// TODO: From coreapi. Remove me later. // TODO: From coreapi. Remove me later.
#include "private.h" #include "private.h"
...@@ -145,6 +147,7 @@ LinphoneFactory *linphone_factory_get(void) { ...@@ -145,6 +147,7 @@ LinphoneFactory *linphone_factory_get(void) {
} }
void linphone_factory_clean(void){ void linphone_factory_clean(void){
LinphonePrivate::AddressPrivate::clearSipAddressesCache();
if (_factory){ if (_factory){
belle_sip_object_unref(_factory); belle_sip_object_unref(_factory);
_factory = NULL; _factory = NULL;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment