aboutsummaryrefslogtreecommitdiffstats
path: root/libcontacts_contact_destroy.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-04-02 16:24:55 +0200
committerMattias Andrée <maandree@kth.se>2021-04-02 16:24:55 +0200
commit63145b929b143cfc8858a220d3e1d7fc88f7031e (patch)
treeddcf0e8a0dd72e1e9abebc4a26214cae8cb88d9e /libcontacts_contact_destroy.c
parentFirst commit (diff)
downloadlibcontacts-63145b929b143cfc8858a220d3e1d7fc88f7031e.tar.gz
libcontacts-63145b929b143cfc8858a220d3e1d7fc88f7031e.tar.bz2
libcontacts-63145b929b143cfc8858a220d3e1d7fc88f7031e.tar.xz
Add block info
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'libcontacts_contact_destroy.c')
-rw-r--r--libcontacts_contact_destroy.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libcontacts_contact_destroy.c b/libcontacts_contact_destroy.c
index ef208d5..974473d 100644
--- a/libcontacts_contact_destroy.c
+++ b/libcontacts_contact_destroy.c
@@ -13,6 +13,7 @@ libcontacts_contact_destroy(struct libcontacts_contact *this)
DESTROY_ALL(this->photos, free);
DESTROY_ALL(this->groups, free);
free(this->notes);
+ DESTROY_ALL(this->blocks, libcontacts_block_destroy);
DESTROY_ALL(this->organisations, libcontacts_organisation_destroy);
DESTROY_ALL(this->emails, libcontacts_email_destroy);
DESTROY_ALL(this->pgpkeys, libcontacts_pgpkey_destroy);