]> git.ipfire.org Git - thirdparty/dhcpcd.git/commit
options: optimise token storage by reducing free calls
authorRoy Marples <roy@marples.name>
Sun, 8 Mar 2020 21:37:50 +0000 (21:37 +0000)
committerRoy Marples <roy@marples.name>
Sun, 8 Mar 2020 21:37:50 +0000 (21:37 +0000)
commit7b46fd4343f930d176690a9a2a16e3aae7cc141f
treea1d96cce4e20641db31b6a2362f13673a2266bc1
parent4f00baabe6d6967b50598ad7a34e650ec4e960cf
options: optimise token storage by reducing free calls

Also avoid a potential memory issue if the malloc call to save the
key fails.
src/if-options.c