Fix for gc_free