gdb/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Wed, 22 Apr 2009 17:50:54 +0000 (17:50 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Wed, 22 Apr 2009 17:50:54 +0000 (17:50 +0000)
* varobj.c (free_variable): Replace free_current_contents by xfree.

gdb/ChangeLog
gdb/varobj.c

index 3740c81d8538de7b262c6a5b42e61958c01b5712..9cadc1541ad3d6c041a8a84cfc798cfcbd4e1629 100644 (file)
@@ -1,3 +1,7 @@
+2009-04-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * varobj.c (free_variable): Replace free_current_contents by xfree.
+
 2009-04-22  Kazu Hirata  <kazu@codesourcery.com>
 
        * arm-linux-nat.c (fetch_register, store_register): Use
index a7957f698b46da512949286377ee14e9407d9bea..8ec67b77cf17fa31286873cb9cebafadcb455038 100644 (file)
@@ -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);
     }
 
This page took 0.027798 seconds and 4 git commands to generate.