#1971: Memory leak in tmpfile() ---------------------+-------------------------- Reporter: nopscmn | Owner: Chris Johns Type: defect | Status: reopened Priority: normal | Milestone: 4.11.3 Component: fs | Version: 4.11 Severity: normal | Resolution: Keywords: | Blocked By: Blocking: | ---------------------+--------------------------
Old description: > Hello, > > I use tmpfile() in my RTEMS application, and found that it has memory > leak. > I wrote small test application (see attachment), that output memory > usage: > > Memory usage before: > Number of used blocks: 12 > Largest used block: 1288 > Total bytes used: 3628 > > Memory used after: > Number of used blocks: 1013 > Largest used block: 1288 > Total bytes used: 112064 > > By 1000 iteration, each call tmpfile() cause memory leak about 108 bytes. New description: Hello, I use tmpfile() in my RTEMS application, and found that it has memory leak. I wrote small test application (see attachment), that output memory usage: Memory usage before: Number of used blocks: 12 Largest used block: 1288 Total bytes used: 3628 Memory used after: Number of used blocks: 1013 Largest used block: 1288 Total bytes used: 112064 By 1000 iteration, each call tmpfile() cause memory leak about 108 bytes. -- Comment (by Chris Johns): What should happen with this ticket? -- Ticket URL: <http://devel.rtems.org/ticket/1971#comment:10> RTEMS Project <http://www.rtems.org/> RTEMS Project
_______________________________________________ bugs mailing list bugs@rtems.org http://lists.rtems.org/mailman/listinfo/bugs