mirror of
https://github.com/opnsense/src.git
synced 2026-02-14 08:13:38 -05:00
Add a reference count to function definitions. Memory may leak if multiple SIGINTs arrive in interactive mode, this will be fixed later by changing SIGINT handling. PR: bin/137640
4 lines
118 B
Text
4 lines
118 B
Text
# $FreeBSD$
|
|
|
|
MALLOC_OPTIONS=J sh -c 'g() { g() { :; }; :; }; g' &&
|
|
MALLOC_OPTIONS=J sh -c 'g() { unset -f g; :; }; g'
|