[#BloombergLP-balb-LeakyBucket-cancelReserved] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balb.adoc[balb]::xref:BloombergLP/balb/LeakyBucket.adoc[LeakyBucket]::cancelReserved :relfileprefix: ../../../ :mrdocs: Cancel the specified `numUnits` that were previously reserved. This method reduces the number of reserved units by `numUnits`. The behavior is undefined unless `numUnits <= unitsReserved()`. == Synopsis Declared in `<balb_leakybucket.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void cancelReserved(xref:BloombergLP/bsls/Types/Uint64.adoc[bsls::Types::Uint64] numUnits); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#