Fix memory leak while creating NSEvent and swapping buffers (Fixes #514)
Fix memory leak while creating NSEvent and swapping buffers (Fixes #514)

bvssvni/glutin,mbrubeck/glutin,tomaka/glutin,mitchmindtree/glutin,servo/glutin,ozkriff/glutin,nc4rrillo/glutin,ecoal95/glutin,vberger/glutin,mbrubeck/glutin,tomaka/winit