From d161aa539a449cc6fa66fb73ad54f997bcd49b13 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 2 Apr 2021 22:47:53 +0200 Subject: Fix parsing and memory leaks MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- libcontacts_address_destroy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libcontacts_address_destroy.c') diff --git a/libcontacts_address_destroy.c b/libcontacts_address_destroy.c index 1a79f21..e8ed733 100644 --- a/libcontacts_address_destroy.c +++ b/libcontacts_address_destroy.c @@ -11,5 +11,5 @@ libcontacts_address_destroy(struct libcontacts_address *this) free(this->address); free(this->postcode); free(this->city); - DESTROY_ALL(this->unrecognised_data, free); + DESTROY_ALL_STRINGS(this->unrecognised_data); } -- cgit v1.2.3-70-g09d2