Created attachment 30581 [details] [review] fix file descriptor leaks hi, cppcheck reported two file descriptor leaks in libxaw [libXaw-1.0.7/src/AsciiSrc.c:1297]: (error) Resource leak: fd [libXaw-1.0.7/src/AsciiSrc.c:1353]: (error) Resource leak: fd Attached patch fixes both cases. Regards, Eric
Applied, with one small change to allow it to actually compile: - close(fd) + close(fd);
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.