[Pdbg] [PATCH 18/19] libpdbg: Release adu lock when erroring out
Rashmica Gupta
rashmica.g at gmail.com
Wed Aug 29 11:50:46 AEST 2018
Signed-off-by: Rashmica Gupta <rashmica.g at gmail.com>
---
libpdbg/adu.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libpdbg/adu.c b/libpdbg/adu.c
index 9f175f8..f38f2a0 100644
--- a/libpdbg/adu.c
+++ b/libpdbg/adu.c
@@ -265,6 +265,7 @@ retry:
else {
PR_ERROR("Unable to read memory. " \
"ALTD_STATUS_REG = 0x%016" PRIx64 "\n", val);
+ adu_unlock(adu);
return -1;
}
}
--
2.14.4
More information about the Pdbg
mailing list