added an installation instruction for linux
fixed a memory leak bug