diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2019-01-22 14:16:30 +0100 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2019-01-22 14:18:19 +0100 |
commit | dba60d8b985247be7f0b0eef0bc0cefef651c824 (patch) | |
tree | 853afca0b32884c279e1a949313873f9c0d649d6 /vcal.c | |
parent | Start using trie's instead of hash-maps. (diff) | |
download | calp-dba60d8b985247be7f0b0eef0bc0cefef651c824.tar.gz calp-dba60d8b985247be7f0b0eef0bc0cefef651c824.tar.xz |
Fix crash.
Diffstat (limited to '')
-rw-r--r-- | vcal.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |