diff options
-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 |