diff options
Diffstat (limited to 'libcontacts_block_destroy.c')
-rw-r--r-- | libcontacts_block_destroy.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libcontacts_block_destroy.c b/libcontacts_block_destroy.c new file mode 100644 index 0000000..1298aca --- /dev/null +++ b/libcontacts_block_destroy.c @@ -0,0 +1,10 @@ +/* See LICENSE file for copyright and license details. */ +#include "common.h" + + +void +libcontacts_block_destroy(struct libcontacts_block *this) +{ + free(this->service); + DESTROY_ALL(this->unrecognised_data, free); +} |