diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2009-04-22 17:50:54 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2009-04-22 17:50:54 +0000 |
commit | 9727f0b23c153de60528c433b1362f1f5d1d748a (patch) | |
tree | 5fd93d7c4cdc64ce46fbd8be104012ca7a943e65 /gdb/varobj.c | |
parent | d344514af6d15a4bd219e58fa62548cb80313a05 (diff) | |
download | gdb-9727f0b23c153de60528c433b1362f1f5d1d748a.tar.gz |
gdb/
* varobj.c (free_variable): Replace free_current_contents by xfree.
Diffstat (limited to 'gdb/varobj.c')
-rw-r--r-- | gdb/varobj.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/varobj.c b/gdb/varobj.c index a7957f698b4..8ec67b77cf1 100644 --- a/gdb/varobj.c +++ b/gdb/varobj.c @@ -1517,7 +1517,7 @@ free_variable (struct varobj *var) /* Free the expression if this is a root variable. */ if (is_root_p (var)) { - free_current_contents (&var->root->exp); + xfree (var->root->exp); xfree (var->root); } |