This is the mail archive of the gdb-patches@sources.redhat.com 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]

Re: [PATCH RFA] mi-main.c: Fix memory leaks and compilation problems


On Jul 9, 10:24am, Andrew Cagney wrote:

> > Okay to commit?
> > 
> > 	* mi-main.c (mi_cmd_data_write_register_values)
> > 	(mi_cmd_data_write_memory): Change type of ``buffer'' to
> > 	``void *''.  Don't cast return value from xmalloc().  Add
> > 	a cleanup to free the xmalloc'd buffer.
> 
> 
> Yes, definitly.  Thanks!

Committed.


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