diff options
Diffstat (limited to 'src/chheap.c')
-rw-r--r-- | src/chheap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chheap.c b/src/chheap.c index 5193f19b8..f2bcc2b9e 100644 --- a/src/chheap.c +++ b/src/chheap.c @@ -162,7 +162,7 @@ void chHeapFree(void *p) { while (TRUE) {
- chDbgAssert((hp < qp) && (hp >= LIMIT(qp)), "chheap.c, chHeapFree() #2");
+ chDbgAssert((hp < qp) || (hp >= LIMIT(qp)), "chheap.c, chHeapFree() #2");
if (((qp == &heap.free) || (hp > qp)) &&
((qp->h_next == NULL) || (hp < qp->h_next))) {
|