]> git.ipfire.org Git - thirdparty/iproute2.git/commit
nstat: use stack space for history file name
authorDenis Kirjanov <kirjanov@gmail.com>
Wed, 28 Feb 2024 13:58:57 +0000 (08:58 -0500)
committerDavid Ahern <dsahern@kernel.org>
Sun, 3 Mar 2024 22:32:46 +0000 (22:32 +0000)
commit2f8b36e146a555fd6a96590bf191ac634e3b350b
tree063972a89637d4a58ec3d72246e34ba05315c1d4
parent4ce906c3d515973ec3f7c714495d6e3bd15645af
nstat: use stack space for history file name

as the name doesn't require a lot of storage put
it on the stack. Moreover the memory allocated via
malloc wasn't returned.

Signed-off-by: Denis Kirjanov <dkirjanov@suse.de>
Signed-off-by: David Ahern <dsahern@kernel.org>
misc/nstat.c