summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/macosmodule.c
diff options
context:
space:
mode:
Diffstat (limited to 'Mac/Modules/macosmodule.c')
-rw-r--r--Mac/Modules/macosmodule.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Mac/Modules/macosmodule.c b/Mac/Modules/macosmodule.c
index ed86fd0..4eabb39 100644
--- a/Mac/Modules/macosmodule.c
+++ b/Mac/Modules/macosmodule.c
@@ -375,6 +375,7 @@ MacOS_GetErrorString(PyObject *self, PyObject *args)
/* And try again... */
h = GetResource('Estr', err);
}
+ Py_DECREF(m);
}
}
/*