Opened 22 years ago

Closed 20 years ago

#917 closed Bugs (Out of Date)

boost::python::dictionary memory leak

Reported by: Ralf W. Grosse-Kunstleve Owned by: david_abrahams
Milestone: Component: python USE GITHUB
Version: None Severity:
Keywords: Cc:

Description

The file root/libs/python/example/pickle3.cpp
contains (commented-out) code that results
in a memory leak:

        //odict[k] = pdict[k]; // XXX memory leak!
        odict[k] = pdict.get_item(k); // this does not 
leak.

Both odict and pdict are of type
boost::python::dictionary.

Change History (1)

comment:1 by Ralf W. Grosse-Kunstleve, 20 years ago

Status: assignedclosed
Note: See TracTickets for help on using tickets.