d970649 Ticket 49551 - fix memory leak found by coverity

Authored and Committed by lkrispen 2 years ago
    Ticket 49551 - fix memory leak found by coverity