[#BloombergLP-bdls-MemoryUtil-deallocate] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdls.adoc[bdls]::xref:BloombergLP/bdls/MemoryUtil.adoc[MemoryUtil]::deallocate :relfileprefix: ../../../ :mrdocs: Deallocate a memory area at the specified `address` previously allocated with the `allocate` method. Return 0 on success, and a nonzero value otherwise. The behavior is undefined if read or write access to any memory in this area has been revoked and not restored. Note that deallocating memory does not change memory protection. == Synopsis Declared in `<bdls_memoryutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int deallocate(void* address); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#