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_number_destroy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libcontacts_number_destroy.c') diff --git a/libcontacts_number_destroy.c b/libcontacts_number_destroy.c index 64b84cd..0acb54a 100644 --- a/libcontacts_number_destroy.c +++ b/libcontacts_number_destroy.c @@ -7,5 +7,5 @@ libcontacts_number_destroy(struct libcontacts_number *this) { free(this->context); free(this->number); - DESTROY_ALL(this->unrecognised_data, free); + DESTROY_ALL_STRINGS(this->unrecognised_data); } -- cgit v1.2.3-70-g09d2