Re: memory leak(not freeing allocated buffer)

2017-01-03 Thread Chet Ramey
On 1/2/17 7:52 PM, Sticky Chocolate wrote: > Version:4.4 > > (This isn't so much a security bug) > While looking threw copy_cmd.c I saw when allocating new_redirect it > doesn't free it when it is done using it. That's the return value from the function. -- ``The lyf so short, the craft so long

memory leak(not freeing allocated buffer)

2017-01-03 Thread Sticky Chocolate
Version:4.4 (This isn't so much a security bug) While looking threw copy_cmd.c I saw when allocating new_redirect it doesn't free it when it is done using it. copy_cmd.c Ln 115 REDIRECT * copy_redirect (redirect) REDIRECT *red