Make free save against NULL pointers,
Make free save against NULL pointers, also the parameter ptr is set to NULL
Alphabetic index