aboutsummaryrefslogtreecommitdiff
path: root/vcal.c
diff options
context:
space:
mode:
Diffstat (limited to 'vcal.c')
-rw-r--r--vcal.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/vcal.c b/vcal.c
index ceb5980b..c751080e 100644
--- a/vcal.c
+++ b/vcal.c
@@ -48,9 +48,9 @@ int content_line_copy (content_line* dest, content_line* src) {
return 0;
}
-int content_line_free (content_line* c) {
- strbuf_free(&c->key);
- strbuf_free(&c->val);
+int FREE_DECL(content_line) {
+ FREE(strbuf)(&this->key);
+ FREE(strbuf)(&this->val);
// TODO remaining fields