BRANCH 4.2-105_new_delete_wdg:
  fixed a NoneType bug