Skip to content

Commit

Permalink
tests/leaks.sh: avoid false leak: pre-run test (re: fe20311)
Browse files Browse the repository at this point in the history
  • Loading branch information
McDutchie committed Sep 21, 2020
1 parent fe20311 commit 0d3bedd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/cmd/ksh93/tests/leaks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,7 @@ function func1
EOF
FPATH=$tmp
autoload func1
a=`func1` # steady memory state
before=$(getmem)
for ((i=0; i < N; i++))
do a=`func1`
Expand Down

0 comments on commit 0d3bedd

Please sign in to comment.