[linux-nfc] [neard][PATCH v2 57/73] unit: fix memory leaks in test-snep-read error paths