Free memory when exiting widget (the array that holds history is freed)

This commit is contained in:
Sebastian Gniazdowski 2016-09-27 10:22:58 +02:00
parent 8347d80f08
commit faf7208387

View file

@ -251,6 +251,9 @@ if [ "$__hsmw_hcw_call_count" -eq "1" ]; then
# Full reinitialisation at next call
__hsmw_hcw_call_count="0"
# Free memory
__hsmw_hcw_found=( )
fi
# vim:ft=zsh