Makefile update.
Fixed mem leak.