[#BloombergLP-bslma-TestAllocator-numMismatches] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslma.adoc[bslma]::xref:BloombergLP/bslma/TestAllocator.adoc[TestAllocator]::numMismatches :relfileprefix: ../../../ :mrdocs: Return the number of mismatched memory deallocations that have occurred since this object was created. A memory deallocation is _mismatched_ if that memory was not allocated directly from this allocator. == Synopsis Declared in `<bslma_testallocator.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bsls/Types/Int64.adoc[bsls::Types::Int64] numMismatches() const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#