STR #1827

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

Return to Bugs & Features | Roadmap 1.1 ]

STR #1827

Application:FLTK Library
Status:1 - Closed w/Resolution
Priority:2 - Low, e.g. a documentation error or undocumented side-effect
Scope:3 - Applies to all machines and operating systems
Subsystem:Documentation
Summary:Fl_Image::copy() needs to mention releasing of memory
Version:1.1-current
Created By:mkajdas.mkprod
Assigned To:mike
Fix Version:1.1-current (SVN: v5996)
Update Notification:

Receive EMails Don't Receive EMails

Trouble Report Files:

No files


Trouble Report Comments:


Name/Time/Date Text top right image
 
#1 mkajdas.mkprod
21:03 Nov 23, 2007
I would add following text to Fl_Image::copy() description:

This functions allocates memory  by using 'new' operator, so the returned pointer should be 'deleted' after the memory is not needed anymore. Otherwise memory leak could result.
 
 
#2 mike
09:19 Dec 15, 2007
Fixed in Subversion repository.  
bottom left image   bottom right image

Return to Bugs & Features ]

 
 

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