Fixing API 2.0 memory leak in tz window deinit