mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-21 01:12:32 +08:00
2007-08-17 Michael Snyder <msnyder@access-company.com>
* varobj.c (value_of_root): Memory leak.
This commit is contained in:
parent
0bd9908d01
commit
74dddad306
@ -1,5 +1,7 @@
|
||||
2007-08-17 Michael Snyder <msnyder@access-company.com>
|
||||
|
||||
* varobj.c (value_of_root): Memory leak.
|
||||
|
||||
* gdbtypes.h (virtual_base_list): Remove export decl.
|
||||
* gdbtypes.c (virtual_base_list): Make static. Not called outside.
|
||||
(virtual_base_index): Memory leak.
|
||||
|
@ -1741,6 +1741,8 @@ value_of_root (struct varobj **var_handle, int *type_changed)
|
||||
var = *var_handle;
|
||||
*type_changed = 1;
|
||||
}
|
||||
xfree (old_type);
|
||||
xfree (new_type);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user