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
/
tracefile-tfile.c
diff --git
a/gdb/tracefile-tfile.c
b/gdb/tracefile-tfile.c
index 9747036b871421bc7d722337a1e13651e6f47dca..8cc36b82695e82f56a5f3e26421482fdb4b66d83 100644
(file)
--- a/
gdb/tracefile-tfile.c
+++ b/
gdb/tracefile-tfile.c
@@
-327,7
+327,7
@@
struct trace_file_writer *
tfile_trace_file_writer_new (void)
{
struct tfile_trace_file_writer *writer
- =
xmalloc (sizeof (struct tfile_trace_file_writer)
);
+ =
XNEW (struct tfile_trace_file_writer
);
writer->base.ops = &tfile_write_ops;
writer->fp = NULL;
This page took
0.024821 seconds
and
4
git commands to generate.