Apache OpenOffice (AOO) Bugzilla – Issue 103770
tools/workben/solar.c: missing call to fclose
Last modified: 2009-11-05 20:48:40 UTC
For the source code file tools/workben/solar.c, around line 340 is the source code FILE* f = fopen( name, "w" ); I can't see a matching call to fclose, so this looks like a memory leak to me. Suggest add call, to close the leak.
reassigning to more appropriate owner. Fairly minor as its on a workben scratch project
No harm in fixing that, I guess. There is also a call to exit() that can safely be removed, for return stmt (that is there anyway) will serve just as well.
Created attachment 63814 [details] add fclose
while I'm at it, I'll take this related low hanger
hmm, actually already integrated in mh132, mh must have forgot to cws task it to the workspace, but its already in there
mh132