aboutsummaryrefslogtreecommitdiff
path: root/gdb/varobj.c
diff options
context:
space:
mode:
authorNick Roberts <nickrob@snap.net.nz>2007-02-27 23:27:47 +0000
committerNick Roberts <nickrob@snap.net.nz>2007-02-27 23:27:47 +0000
commit93b979d682606a0a980b4421e1e0084fc1ac18f4 (patch)
tree7a7de50f7f42f0435f044ffe89bb08715d3fa570 /gdb/varobj.c
parent1bbfb19a4def5a71d2f225bce3f12ae62a048557 (diff)
downloadgdb-93b979d682606a0a980b4421e1e0084fc1ac18f4.zip
gdb-93b979d682606a0a980b4421e1e0084fc1ac18f4.tar.gz
gdb-93b979d682606a0a980b4421e1e0084fc1ac18f4.tar.bz2
(varobj_update): Free temporary vectors.
Diffstat (limited to 'gdb/varobj.c')
-rw-r--r--gdb/varobj.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/varobj.c b/gdb/varobj.c
index f86082e..7b2bfb8 100644
--- a/gdb/varobj.c
+++ b/gdb/varobj.c
@@ -1142,6 +1142,9 @@ varobj_update (struct varobj **varp, struct varobj ***changelist)
}
*cv = 0;
+ VEC_free (varobj_p, stack);
+ VEC_free (varobj_p, result);
+
if (type_changed)
return TYPE_CHANGED;
else