Set the pointer to NULL if freed.
Improve command-line parameters.