]> 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)
commit14e220ca17318da375aec5692e221a4e048156ce
treea1d96cce4e20641db31b6a2362f13673a2266bc1
parent6b885a085d55cd175547b3fe73e0486406216db6
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