]> Pileus Git - lackey/commit
Free unused cal memory memory
authorAndy Spencer <andy753421@gmail.com>
Mon, 10 Jun 2013 03:50:39 +0000 (03:50 +0000)
committerAndy Spencer <andy753421@gmail.com>
Mon, 10 Jun 2013 04:56:46 +0000 (04:56 +0000)
commit8565e093588ec2a665a430c7be4f4b440537df84
tree81ad82f820c029379a6afe9879a55c3880ed3c9f
parenta8c24ecfdee86b9ea9c35469f717fa3cf1b9b6ab
Free unused cal memory memory

This makes all the string in events and todos dynamically allocated.
The memory for the event and any underlying data is now owned by cal.c,
and will be freed when no longer needed.

Maybe someday we'll go back to making these constants, since that would
require less duplicated strings, but for now it's easiest to just make
everything freeable
cals/dummy.c
src/cal.c
src/cal.h