sim: bfin: use freeargv for freeing argvs
authorMike Frysinger <vapier@gentoo.org>
Sat, 18 Jun 2011 17:20:38 +0000 (17:20 +0000)
committerMike Frysinger <vapier@gentoo.org>
Sat, 18 Jun 2011 17:20:38 +0000 (17:20 +0000)
commit886ea33b698889a48276ee7d5faf4c3ba26c9c0b
tree86bc4ccbb518b4c13a916f1833926bd7fa22a32b
parent8fb8dca73e98103c67ae0946d200899d7f42df5d
sim: bfin: use freeargv for freeing argvs

Since the argv array was allocated with dupargv, it needs to be freed
with freeargv to avoid leaks.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
sim/bfin/ChangeLog
sim/bfin/interp.c