[#BloombergLP-bslma-StdTestAllocator-deallocate] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslma.adoc[bslma]::xref:BloombergLP/bslma/StdTestAllocator.adoc[StdTestAllocator]::deallocate :relfileprefix: ../../../ :mrdocs: Return memory previously allocated with `allocate` to the underlying mechanism object by calling `deallocate` on the mechanism object with the specified `p`. The optionally specified `n` argument is ignored by this test allocator type. == Synopsis Declared in `<bslma_stdtestallocator.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void deallocate( xref:BloombergLP/bslma/StdTestAllocator/pointer.adoc[pointer] p, xref:BloombergLP/bslma/StdTestAllocator/size_type.adoc[size_type] n = 1); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#