Closed reference leak of variable 'k' in function ste_new which wasn't decrefed in error cases
diff --git a/Python/symtable.c b/Python/symtable.c
index a0b786b..d2bb889 100644
--- a/Python/symtable.c
+++ b/Python/symtable.c
@@ -24,7 +24,7 @@
         void *key, int lineno, int col_offset)
 {
     PySTEntryObject *ste = NULL;
-    PyObject *k;
+    PyObject *k = NULL;
 
     k = PyLong_FromVoidPtr(key);
     if (k == NULL)
@@ -79,6 +79,7 @@
 
     return ste;
  fail:
+    Py_XDECREF(k);
     Py_XDECREF(ste);
     return NULL;
 }