Declaring local variables inside while loop leads to memory leak

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi.

I found that declaring local variables inside while loop leads to
memory leak. Code sample:

test()
{
   while [ true ]; do
      local a=
   done
}

test

-- 
Regards,
Vladimir.
--
To unsubscribe from this list: send the line "unsubscribe dash" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux