Fixed a possible "leak".