Fix double free
Fix double free

Temporary fix awaiting lua ownership improvements.

nabilbendafi/haka,Wingless-Archangel/haka,lcheylus/haka,haka-security/haka,lcheylus/haka,lcheylus/haka,haka-security/haka,LubyRuffy/haka,LubyRuffy/haka,nabilbendafi/haka,haka-security/haka,nabilbendafi/haka,Wingless-Archangel/haka