No need to declare variable name as static in dounsetenv(). Also, drop a
authoranton <anton@openbsd.org>
Mon, 18 Dec 2017 19:12:24 +0000 (19:12 +0000)
committeranton <anton@openbsd.org>
Mon, 18 Dec 2017 19:12:24 +0000 (19:12 +0000)
commit49fb0940778b2e5960a5ebbcc287ca4b271a2674
tree8401f48c2fef903d745a658133d000c494fb111f
parent10bc386b5839b8245dbc6732c39cd818641aa50b
No need to declare variable name as static in dounsetenv(). Also, drop a
redundant call to free() since name is always freed upon return.

From Michael W. Bombardieri, with some tweaks by myself.
bin/csh/func.c