Fix another potential memory leak

Undeleted object