kmsagnosticbin: Fix memory leak

Change-Id: Ie786772253c0f37d80d8cd4c2e17b740d59df074