avoid double-free of msg

No need to make nlmsg global, and no need to free it at the end
since it should be freed locally at every use.

Signed-off-by: Bob Copeland <bob@cozybit.com>