diff options
author | Mattias Andrée <maandree@kth.se> | 2021-04-02 16:24:55 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2021-04-02 16:24:55 +0200 |
commit | 63145b929b143cfc8858a220d3e1d7fc88f7031e (patch) | |
tree | ddcf0e8a0dd72e1e9abebc4a26214cae8cb88d9e /libcontacts_block_destroy.c | |
parent | First commit (diff) | |
download | libcontacts-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_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); +} |