Panic on index-out-of-bounds when releasing RCC node
This commit is contained in:
parent
114dda2fd1
commit
662e97f7b5
1 changed files with 2 additions and 0 deletions
|
@ -211,6 +211,8 @@ impl RccInfo {
|
||||||
if *refcount > 0 {
|
if *refcount > 0 {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
panic!("refcount_idx out of bounds: {}", refcount_idx)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue