Opened 14 years ago

Closed 14 years ago

#1277 closed Bug (Fixed)

_GDIPlus_ImageGetGraphicsContext needs to be "disposed" in help example

Reported by: Andrew Owned by: Jon
Milestone: Component: Documentation
Version: Severity: Blocking
Keywords: _GDIPlus_ImageGetGraphicsContext Cc:


The help file gives an example of how to use this function.

At the end of the example, the object is NOT DISPOSED. For a novice (like myself) it is not obvious that this object needs to be disposed (otherwise massive memory leak). It seems all the other "create" functions have a matching "dispose" function but not this one.

Through trail-and-error I found the required line was...


Attachments (0)

Change History (2)

comment:1 Changed 14 years ago by Valik

  • Severity changed from None to Blocking

comment:2 Changed 14 years ago by Jon

  • Milestone set to
  • Owner set to Jon
  • Resolution set to Fixed
  • Status changed from new to closed

Fixed by revision [5402] in version:

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

as closed The owner will remain Jon.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.