Fix deallocation of array objects when allocation ran out of memory.
diff --git a/Modules/arraymodule.c b/Modules/arraymodule.c
index da6e88f..eafea98 100644
--- a/Modules/arraymodule.c
+++ b/Modules/arraymodule.c
@@ -439,6 +439,7 @@
 	else {
 		op->ob_item = PyMem_NEW(char, nbytes);
 		if (op->ob_item == NULL) {
+			_Py_ForgetReference(op);
 			PyObject_Del(op);
 			return PyErr_NoMemory();
 		}