FLTK logo

STR #2425

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Library      Forums      Links      Apps     Login 
[  Home  |  Articles & FAQs  |  Bugs & Features  |  Documentation  |  Download  |  Screenshots  ]
 

[ Return to Bugs & Features | Roadmap 2.0 | Post Text | Post File | SVN ⇄ GIT ]

STR #2425

Application:FLTK Library
Status:5 - New
Priority:2 - Low, e.g. a documentation error or undocumented side-effect
Scope:3 - Applies to all machines and operating systems
Subsystem:Unassigned
Summary:Memory leaks in fluid2
Version:2.0-current
Created By:bgbnbigben
Assigned To:Unassigned
Fix Version:Unassigned
Update Notification:

Receive EMails Don't Receive EMails

Trouble Report Files:

[ Post File ]
Name/Time/Date Filename/Size  
 
#1 bgbnbigben
12:09 Oct 05, 2010
fluid2.diff
2k
 
     

Trouble Report Comments:

[ Post Text ]
Name/Time/Date Text  
 
#1 bgbnbigben
12:09 Oct 05, 2010
Whilst trying to fix a couple of things with fluid2-shared I ran valgrind over the top to check memory usage.
The attached patch only recovers about 2kb, but it also deals with a few cases where realloc fails.
This really only recovers the obvious leaks, but as I get more of a chance to attack this with a fine-toothed comb, I might have slightly better results.
I'll slowly add to bits either here or in other opened STRs to try to recover all the memory that's leaked, amongst other things.
 
     

[ Return to Bugs & Features | Post Text | Post File ]

 
 

Comments are owned by the poster. All other content is copyright 1998-2026 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.