On 08/07/21 11:24, Markus Armbruster wrote:
Looks like the patch fixes two separate issues:1. Memory leak on ferror() Fixes: f7544edcd32e602af1aae86714dc7c32350d5d7c 2. Callback can run on error. Fixes: 37701411397c7b7d709ae92abd347cc593940ee5 I*think* this happens when the cb() further up fails, and when a line following the [...] section header cannot be parsed. Worth fixing the separate bugs in separate patches?
Yes, good idea. Paolo