cppcheck complains about memory leak in these files, but looks like its a wrong condition to check fopen() return value. This means: code for throwing situation when fopen() fails never be executed. Patch in attach. Thanks in advance.
Created attachment 4249 [details] Proposal fix
Pushed, thanks. Volker