Work around double call to init/free in F2.5