Fix leak in "super" upvalue.
commit2c99f0475afea7c282c2e432499fd22aa17744e3
authorDaniel Wallin <daniel@boostpro.com>
Wed, 25 Nov 2009 20:23:52 +0000 (25 21:23 +0100)
committerDaniel Wallin <daniel@boostpro.com>
Wed, 25 Nov 2009 20:50:35 +0000 (25 21:50 +0100)
tree284c78df87ce8d3cc57341daa86183c8345a57cd
parente0aca030c0ea0e129eefaccc036d5b727beadb57
Fix leak in "super" upvalue.

The last created instance would stick around in the "super" upvalue
unless "super()" was called from the constructor. This happened because
"super" wasn't cleaned up after construction, only after being called.
src/class_rep.cpp
src/open.cpp
test/Jamfile
test/test_super_leak.cpp [new file with mode: 0644]