Don't print a string after possibly freeing it.
authorGeorge Koehler <xkernigh@netscape.net>
Sun, 13 Nov 2016 16:55:09 +0000 (11:55 -0500)
committerGeorge Koehler <xkernigh@netscape.net>
Sun, 13 Nov 2016 17:02:35 +0000 (12:02 -0500)
commite617f425032bccafe36657dcf615a6abaf026fd3
treef8696158bf3598b7525ac99e719e3154993b0ec6
parent65278bc9a9ffe8a924c616765afea3bf4e3728d5
Don't print a string after possibly freeing it.

new= newvar(name) takes ownership of the string and might free its
memory.  Don't print name.  Do print new->v_name.

Also #include <string.h> for strcmp().
util/ack/svars.c