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 | 3038237c753d7e8e0a39e47af0d664e1780da563 (patch) | |
tree | be6f08d994cffc56678e64c9da67a3c2d4ee266b /gdb/varobj.c | |
parent | 83eba9b72c3b56318ac63aa912808fe620c147b2 (diff) | |
download | gdb-3038237c753d7e8e0a39e47af0d664e1780da563.zip gdb-3038237c753d7e8e0a39e47af0d664e1780da563.tar.gz gdb-3038237c753d7e8e0a39e47af0d664e1780da563.tar.bz2 |
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 a7957f6..8ec67b7 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); } |