Added missing deallocation

pull/1/head
Clyne 4 years ago committed by GitHub
parent c4a598007b
commit 40fc0b29f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -130,8 +130,10 @@ private:
output[bytes - 1] |= (1 << bits); output[bytes - 1] |= (1 << bits);
if (++bits == 8) { if (++bits == 8) {
bits = 0; bits = 0;
if (--bytes == 0) if (--bytes == 0) {
return; i = 1;
break;
}
} }
leaf = parent; leaf = parent;
} }

Loading…
Cancel
Save