Fixed a handle leak.