aboutsummaryrefslogtreecommitdiffstats
path: root/libcontacts_contact_destroy.c
diff options
context:
space:
mode:
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);