[PATCH] varobj.c, value_of_root, (another) memory leak
msnyder@sonic.net
msnyder@sonic.net
Fri Aug 17 23:21:00 GMT 2007
> > I'm not totally sure about this -- does the return value of
> var_get_type
> > need to be freed? If so, there are some other places in mi-cmd-var
> > where it isn't being.
>
> Yes, I think this is right but USE_SELECTED_FRAME is broken anyway. The
> ones in mi-cmd-var.c may be more important. Similar problems seem to
> occur with varobj_get_expression and varobj_get_value.
Committed.
More information about the Gdb-patches
mailing list