OP-1263 fixed minor memory leak introduced during SDL refactoring