Avoid using void * arithmetic
Clear unused pointer fields in struct env
Merge pull request #10 from yitzikc/fix_crash_on_free_ev

A pull request for the env clearing fix (removing the check for NULL before free)