Add missing freebuf.  Fix variable name.