Fixed a little memory leak.