aboutsummaryrefslogtreecommitdiff
path: root/sim/ChangeLog
diff options
context:
space:
mode:
authorChen Gang <gang.chen.5i5j@gmail.com>2015-01-31 06:06:38 +0800
committerChen Gang <gang.chen.5i5j@gmail.com>2015-02-03 04:03:38 +0800
commitcd71915c7738f0992daefe0320b10e3b1960535c (patch)
treece2be59d429be90d15f53f038dde8814949bae6b /sim/ChangeLog
parentc9ba137e2157b989b878198f94c7d5f01a937500 (diff)
downloadgdb-cd71915c7738f0992daefe0320b10e3b1960535c.zip
gdb-cd71915c7738f0992daefe0320b10e3b1960535c.tar.gz
gdb-cd71915c7738f0992daefe0320b10e3b1960535c.tar.bz2
sim: Be sure of calling freeargv() after successfully call buildargv().
Or there will be memory leak. 2015-02-02 Chen Gang <gang.chen.5i5j@gmail.com> * mcore/interp.c (sim_do_command): Call freeargv() before return.
Diffstat (limited to 'sim/ChangeLog')
-rw-r--r--sim/ChangeLog4
1 files changed, 4 insertions, 0 deletions
diff --git a/sim/ChangeLog b/sim/ChangeLog
index 9ddee64..628e6a8 100644
--- a/sim/ChangeLog
+++ b/sim/ChangeLog
@@ -1,5 +1,9 @@
2015-02-02 Chen Gang <gang.chen.5i5j@gmail.com>
+ * mcore/interp.c (sim_do_command): Call freeargv() before return.
+
+2015-02-02 Chen Gang <gang.chen.5i5j@gmail.com>
+
* common/sim-options.c (sim_args_command): Call freeargv() when
failure occurs.