Plug memory leak

Change-Id: If8f9dbf09adb42293e909236604e7ea583ce2d79
Don't leak k0's memory

Change-Id: I158acb7138d6b1347a5694e06f43a43a908c0ce7