diff options
author | Kevin Buettner <kevinb@redhat.com> | 2000-12-15 01:01:51 +0000 |
---|---|---|
committer | Kevin Buettner <kevinb@redhat.com> | 2000-12-15 01:01:51 +0000 |
commit | b8c9b27d1e133d46199734ca1f047af8bb2d3314 (patch) | |
tree | 1aa002791f0e97bfc48c64222199e6d9f9e5eb53 /gdb/varobj.c | |
parent | 6fa957a9b9408297206fb88e7c773931760f0528 (diff) | |
download | binutils-b8c9b27d1e133d46199734ca1f047af8bb2d3314.zip binutils-b8c9b27d1e133d46199734ca1f047af8bb2d3314.tar.gz binutils-b8c9b27d1e133d46199734ca1f047af8bb2d3314.tar.bz2 |
Replace free() with xfree().
Diffstat (limited to 'gdb/varobj.c')
-rw-r--r-- | gdb/varobj.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/varobj.c b/gdb/varobj.c index 6528bcb..4adfd68 100644 --- a/gdb/varobj.c +++ b/gdb/varobj.c @@ -1065,7 +1065,7 @@ delete_variable_1 (struct cpstack **resultp, int *delcountp, struct varobj *var, vc->child->parent = NULL; delete_variable_1 (resultp, delcountp, vc->child, 0, only_children_p); next = vc->next; - free (vc); + xfree (vc); } /* if we were called to delete only the children we are done here */ @@ -1182,7 +1182,7 @@ uninstall_variable (struct varobj *var) else prev->next = cv->next; - free (cv); + xfree (cv); /* If root, remove varobj from root list */ if (var->root->rootvar == var) @@ -1507,7 +1507,7 @@ vpop (struct vstack **pstack) s = *pstack; v = s->var; *pstack = (*pstack)->next; - free (s); + xfree (s); return v; } @@ -1537,7 +1537,7 @@ cppop (struct cpstack **pstack) s = *pstack; v = s->name; *pstack = (*pstack)->next; - free (s); + xfree (s); return v; } |