aboutsummaryrefslogtreecommitdiffstats
path: root/libcontacts_address_destroy.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-04-02 22:47:53 +0200
committerMattias Andrée <maandree@kth.se>2021-04-02 22:47:53 +0200
commitd161aa539a449cc6fa66fb73ad54f997bcd49b13 (patch)
treee59a18a53191c148fc372a7cbbc82cd000bbfadc /libcontacts_address_destroy.c
parentAdd full name, use separate fields for birthday componets and add when leapies celebrate on common years (diff)
downloadlibcontacts-d161aa539a449cc6fa66fb73ad54f997bcd49b13.tar.gz
libcontacts-d161aa539a449cc6fa66fb73ad54f997bcd49b13.tar.bz2
libcontacts-d161aa539a449cc6fa66fb73ad54f997bcd49b13.tar.xz
Fix parsing and memory leaks
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'libcontacts_address_destroy.c')
-rw-r--r--libcontacts_address_destroy.c2
1 files changed, 1 insertions, 1 deletions
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);
}