Fixes a leak