This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] sim: Be sure of calling freeargv() after successfully call buildargv().
- From: Michael Eager <eager at eagerm dot com>
- To: Chen Gang S <gang dot chen at sunrus dot com dot cn>, gdb-patches at sourceware dot org
- Date: Fri, 30 Jan 2015 17:14:54 -0800
- Subject: Re: [PATCH] sim: Be sure of calling freeargv() after successfully call buildargv().
- Authentication-results: sourceware.org; auth=none
- References: <54CC0E99 dot 1070501 at sunrus dot com dot cn>
On 01/30/15 15:07, Chen Gang S wrote:
Or there will be memory leak.
2014-01-31 Chen Gang <gang.chen.5i5j@gmail.com>
* microblaze/interp.c (sim_do_command): Call freeargv() before
return.
OK.
--
Michael Eager eager@eagercon.com
1960 Park Blvd., Palo Alto, CA 94306 650-325-8077