Shouldn't we use `SAFE_FREE()` here instead?