Fix a memory leak when a tree is partially replaced.
commit90ff3b6df5c6564f621e06d411ca8530fb4da61e
authorJohannes Sixt <johannes.sixt@telecom.at>
Sat, 18 Nov 2006 21:35:03 +0000 (18 22:35 +0100)
committerJohannes Sixt <johannes.sixt@telecom.at>
Sun, 19 Nov 2006 19:49:18 +0000 (19 20:49 +0100)
tree617a10c502c93341d0469cf78751fcd8ce412bdd
parent114dd73b9b5a4d9285acb4702810fb5426bb6b40
Fix a memory leak when a tree is partially replaced.

This situation happens when a variable of different type, but the same name
is displayed at the next stop. (An expanded 'this' pointer is a common case.)
In this case, the old subtree was not released.
kdbg/dbgdriver.h
kdbg/debugger.cpp
kdbg/debugger.h
kdbg/exprwnd.cpp
kdbg/exprwnd.h