[PATCH] ash: free expanded redirect file name

Jon Tollefson kniht at linux.vnet.ibm.com
Tue Nov 6 21:23:36 UTC 2012


Please review my patch.  This is my first patch and not sure if I have 
all the required information and formatting below.  Thanks.

Free previous allocation of expanded redirect file name.
If redirection is used on the end of a loop then copies of the expanded 
file name were building up while the loop was still going.  This could 
be an issue for a long running script.

Jon

Signed-off-by: Jon Tollefson<kniht at linux.vnet.ibm.com>
---
  shell/ash.c |    2 ++
  1 files changed, 2 insertions(+), 0 deletions(-)

Patch attached
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: free_expanded_redir.patch
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20121106/c32ccab2/attachment.ksh>


More information about the busybox mailing list