Fix PyUnicode_EncodeCharmap()
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c
index 0c5c485..541ded8 100644
--- a/Objects/unicodeobject.c
+++ b/Objects/unicodeobject.c
@@ -8397,7 +8397,7 @@
         return NULL;
     result = _PyUnicode_EncodeCharmap(unicode, mapping, errors);
     Py_DECREF(unicode);
-    return NULL;
+    return result;
 }
 
 PyObject *