aboutsummaryrefslogtreecommitdiff
path: root/vcal.c
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2019-01-22 14:16:30 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2019-01-22 14:18:19 +0100
commitdba60d8b985247be7f0b0eef0bc0cefef651c824 (patch)
tree853afca0b32884c279e1a949313873f9c0d649d6 /vcal.c
parentStart using trie's instead of hash-maps. (diff)
downloadcalp-dba60d8b985247be7f0b0eef0bc0cefef651c824.tar.gz
calp-dba60d8b985247be7f0b0eef0bc0cefef651c824.tar.xz
Fix crash.
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