bug-bash
[Top][All Lists]
Advanced

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

memory leak on arrays in functions


From: Detlef Wusseng
Subject: memory leak on arrays in functions
Date: Wed, 05 May 2004 16:32:59 +0000

have found a memory leak in bash 2.05b.0(1)

-----
#!/bin/bash
run() { local -a A=(); local -a A=(); }
while :; do run; done
-----

Regards
Detlef

-- 
--------------------------------------------------------------------------
Detlef Wusseng  Alcatel SEL AG Berlin   e-mail:
address@hidden
                Colditzstrasse 34-36    Tel:    +49 30 7002 4955
                12099 Berlin, Germany   Fax:    +49 30 7002 3345






reply via email to

[Prev in Thread] Current Thread [Next in Thread]