From 198d41812b2d012c2403a513802b87f35f8d7d64 Mon Sep 17 00:00:00 2001 From: Guillaume BIENKOWSKI Date: Mon, 9 Dec 2013 14:14:23 +0100 Subject: [PATCH] Fix leak --- coreapi/ldap/ldapprovider.c | 1 + 1 file changed, 1 insertion(+) diff --git a/coreapi/ldap/ldapprovider.c b/coreapi/ldap/ldapprovider.c index 3fcc1a3dd..1e2b942b6 100644 --- a/coreapi/ldap/ldapprovider.c +++ b/coreapi/ldap/ldapprovider.c @@ -291,6 +291,7 @@ static void linphone_ldap_contact_provider_handle_search_result( LinphoneLDAPCon ms_message("Added friend %s / %s", ldap_data.name, ldap_data.sip); ms_free(ldap_data.sip); ms_free(ldap_data.name); + linphone_address_destroy(la); } }