agnosticbin: Fix memory_leak test

Change-Id: I9c517f7461e6042cbe495d1af410cc20707bf220