* varobj.c (c_value_of_child): Release memory for "name" when
authorKeith Seitz <keiths@redhat.com>
Tue, 20 Nov 2001 18:08:14 +0000 (18:08 +0000)
committerKeith Seitz <keiths@redhat.com>
Tue, 20 Nov 2001 18:08:14 +0000 (18:08 +0000)
commit5bbc1a8e410369b785d3e51bf4c841221d139bb4
tree280304edc8d96e56adb5e01aaa74940d437e9ca2
parent1ad24239ce0af556836897b96f29c7475042c009
* varobj.c (c_value_of_child): Release memory for "name" when
finshed using it.
(c_type_of_child): Likewise.
(cplus_value_of_child): Isolate the use of name_of_child to
one case that needs it.
Release memory for "name" when finished using it.
gdb/ChangeLog
gdb/varobj.c