TRQ-1730 needed to set a pointer to NULL after freeing it.
Merge branch '4.2-dev' of https://github.com/adaptivecomputing/torque into 4.2-dev