Add check for PyDict_Update() error.
diff --git a/Python/symtable.c b/Python/symtable.c
index 1871a42..514ed44 100644
--- a/Python/symtable.c
+++ b/Python/symtable.c
@@ -702,7 +702,8 @@
 			ste->ste_child_free = 1;
 	}
 
-	PyDict_Update(newfree, allfree);
+	if (PyDict_Update(newfree, allfree) < 0)
+		goto error;
 	if (ste->ste_type == FunctionBlock && !analyze_cells(scope, newfree))
 		goto error;
 	if (!update_symbols(ste->ste_symbols, scope, bound, newfree,