avoid "syntax-check" failure: hide cast of argument to free