diff options
author | Nick Roberts <nickrob@snap.net.nz> | 2007-02-27 23:27:47 +0000 |
---|---|---|
committer | Nick Roberts <nickrob@snap.net.nz> | 2007-02-27 23:27:47 +0000 |
commit | 93b979d682606a0a980b4421e1e0084fc1ac18f4 (patch) | |
tree | 7a7de50f7f42f0435f044ffe89bb08715d3fa570 /gdb | |
parent | 1bbfb19a4def5a71d2f225bce3f12ae62a048557 (diff) | |
download | gdb-93b979d682606a0a980b4421e1e0084fc1ac18f4.zip gdb-93b979d682606a0a980b4421e1e0084fc1ac18f4.tar.gz gdb-93b979d682606a0a980b4421e1e0084fc1ac18f4.tar.bz2 |
(varobj_update): Free temporary vectors.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/varobj.c | 3 |
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 |