projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Replace some xmalloc-family functions with XNEW-family ones
[deliverable/binutils-gdb.git]
/
gdb
/
python
/
py-varobj.c
diff --git
a/gdb/python/py-varobj.c
b/gdb/python/py-varobj.c
index ec44d5698418ac6fe4fa924aa7b6081f2d62df68..57f8267f657e0e3208ad56cdae45c82def798061 100644
(file)
--- a/
gdb/python/py-varobj.c
+++ b/
gdb/python/py-varobj.c
@@
-113,7
+113,7
@@
py_varobj_iter_next (struct varobj_iter *self)
error (_("Invalid item from the child list"));
}
- vitem =
xmalloc (sizeof *v
item);
+ vitem =
XNEW (struct varobj_
item);
vitem->value = convert_value_from_python (py_v);
if (vitem->value == NULL)
gdbpy_print_stack ();
This page took
0.024593 seconds
and
4
git commands to generate.