core: added generic fparam fixup_free functions