Fixed a memory leak (wasn't really a leak since memory was freed when the program exited, but still).