Fix refleak: decref inputobj after extracting the relavant info (the object
won't go away, as the exception object holds another reference).
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c
index 98147e8..8288f1e 100644
--- a/Objects/unicodeobject.c
+++ b/Objects/unicodeobject.c
@@ -1323,6 +1323,9 @@
*input = PyBytes_AS_STRING(inputobj);
insize = PyBytes_GET_SIZE(inputobj);
*inend = *input + insize;
+ /* we can DECREF safely, as the exception has another reference,
+ so the object won't go away. */
+ Py_DECREF(inputobj);
if (newpos<0)
newpos = insize+newpos;