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

Kevin Buettner kevinb@cygnus.com
Mon Jul 9 09:56:00 GMT 2001


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.



More information about the Gdb-patches mailing list