[Bug 544938] New: transfig-3.2.5-161.11: missing call to pclose
http://bugzilla.novell.com/show_bug.cgi?id=544938 Summary: transfig-3.2.5-161.11: missing call to pclose Classification: openSUSE Product: openSUSE 11.2 Version: Factory Platform: All OS/Version: openSUSE 11.1 Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: dcb314@hotmail.com QAContact: qa@suse.de Found By: --- I just had a look at factory package transfig-3.2.5-161.11 source code file transfig.3.2.5/transfig/sys.c function sysls local variable ls I notice the following code ls = popen("/bin/ls *.fig", "r"); but I fail to notice any call to pclose. This looks like a resource leak to me. Suggest add call to pclose near the end of the routine. sysbuf[i] = '\0'; pclose( ls); return sysbuf; -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=544938
Marcus Meissner
http://bugzilla.novell.com/show_bug.cgi?id=544938
User werner@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=544938#c1
Dr. Werner Fink
participants (1)
-
bugzilla_noreply@novell.com