Fix some memory leaks.
authorShlomi Fish <shlomif@shlomifish.org>
Tue, 16 Jan 2018 09:29:14 +0000 (11:29 +0200)
committerShlomi Fish <shlomif@shlomifish.org>
Tue, 16 Jan 2018 09:29:14 +0000 (11:29 +0200)
commit0c74581bc1c3ea56f5828cd637291138d3586b5a
tree1bab8caa093941e3b0438748dba1aa9c9c4049e6
parentb88bce18e871ff10a225de3b25e6724f9dec67e6
Fix some memory leaks.

"valgrind doesn't lie.". See
https://github.com/shlomif/fortune-mod/issues/22#issuecomment-357811116
. Now the valgrind test passes with the new Recode at
https://github.com/rrthomas/Recode .
fortune-mod/fortune/fortune.c
fortune-mod/tests/t/valgrind.t