[Dune] [#982] Dune::className has a memory leak (Attachment added)

Dune flyspray at dune-project.org
Wed Nov 23 19:43:51 CET 2011


A new Flyspray task has been opened.  Details are below. 

User who did this - Andreas Lauser (andlaus) 

Attached to Project - Dune
Summary - Dune::className has a memory leak
Task Type - Bug Report
Category - Common
Status - Unconfirmed
Assigned To - 
Operating System - Unspecified / All
Severity - Low
Priority - Normal
Reported Version - 2.1
Due in Version - Undecided
Due Date - Undecided
Details - according to


the string returned by __cxa_demangle must be freed which was not the
case and lead to valgrind complaints.

The attached patch is for DUNE 2.1, but I doubt that dune/common/classname.hh was changed in the mean time, so it should apply to trunk as well. I would also like to ask whether this patch can be included in the DUNE 2.1 branch.

One or more files have been attached.

More information can be found at the following URL:

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.

More information about the Dune mailing list