Fix typo in Memory Management doc. (GH-10798)

(cherry picked from commit a40700439195a119878150f4f0d425c42ca957ef)

Co-authored-by: Kevin Adler <kadler@us.ibm.com>
diff --git a/Doc/c-api/memory.rst b/Doc/c-api/memory.rst
index 9f7b13c..b79b7e4 100644
--- a/Doc/c-api/memory.rst
+++ b/Doc/c-api/memory.rst
@@ -342,7 +342,7 @@
 Release build                    ``"pymalloc"``        ``malloc``          ``pymalloc``           ``pymalloc``
 Debug build                      ``"pymalloc_debug"``  ``malloc`` + debug  ``pymalloc`` + debug   ``pymalloc`` + debug
 Release build, without pymalloc  ``"malloc"``          ``malloc``          ``malloc``             ``malloc``
-Release build, without pymalloc  ``"malloc_debug"``    ``malloc`` + debug  ``malloc`` + debug     ``malloc`` + debug
+Debug build, without pymalloc    ``"malloc_debug"``    ``malloc`` + debug  ``malloc`` + debug     ``malloc`` + debug
 ===============================  ====================  ==================  =====================  ====================
 
 Legend: