Bug fix---memory leak.

Removed two calls to malloc(), one of which I forgot to free.