Fix minor memory leak.