Fix several memory leaks around template parsing.
authorAndrej Kacian <ticho@claws-mail.org>
Tue, 11 Jul 2017 16:37:54 +0000 (18:37 +0200)
committerAndrej Kacian <ticho@claws-mail.org>
Tue, 11 Jul 2017 16:37:54 +0000 (18:37 +0200)
commit814b087c9100bd6820bd67f8502286517f37de75
tree5d668aac9bd65f6aca1b238a61638895b319abe8
parent4311a38be85f5054a22c5be5605720fce867421d
Fix several memory leaks around template parsing.

FLEX-generated quote_fmt_scan_string() allocates a buffer
(and actually returns a pointer to it, although its prototype
in quote_fmt.h says its return value is void), which needs
to be cleaned up afterwards.
src/compose.c
src/prefs_template.c
src/quote_fmt.h