Fixed issue with Free and NULL ptr