Accept NULL in *_free.
24 files changed