This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: A couple of uses of xmalloc and xfree in a couple of .y files


> Anything I'm missing preventing me from applying this as obvious?

Yes, I think we should be consistent.

The thing I don't get is why we don't translate free->xfree, though.

> 2008-10-24  Pedro Alves  <pedro@codesourcery.com>
> 
> 	* ada-exp.y (write_object_renaming): Use malloc instead of
> 	xmalloc.
> 	* p-exp.y (pop_current_type): Use free instead of xfree.

-- 
Joel


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]