projects
/
fw
/
openocd
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
target/semihosting_common: fix minor memory leak
[fw/openocd]
/
src
/
target
/
arm11.c
diff --git
a/src/target/arm11.c
b/src/target/arm11.c
index 4438661496a495e9d591800868d43ae05e686f12..159c30a8501513f52d93ceb421983e5e5a081fdd 100644
(file)
--- a/
src/target/arm11.c
+++ b/
src/target/arm11.c
@@
-442,8
+442,8
@@
static uint32_t arm11_nextpc(struct arm11_common *arm11, int current, uint32_t a
}
buf_set_u32(value, 0, 32, address);
- arm11->arm.pc->dirty =
1
;
- arm11->arm.pc->valid =
1
;
+ arm11->arm.pc->dirty =
true
;
+ arm11->arm.pc->valid =
true
;
return address;
}