Fix logging zfree.