summaryrefslogtreecommitdiffstats
path: root/Modules/grpmodule.c
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/grpmodule.c')
-rw-r--r--Modules/grpmodule.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/grpmodule.c b/Modules/grpmodule.c
index 41a5ec9..5dbcf98 100644
--- a/Modules/grpmodule.c
+++ b/Modules/grpmodule.c
@@ -87,6 +87,7 @@ grp_getgrall(PyObject *self, PyObject *args)
}
Py_DECREF(v);
}
+ endgrent();
return d;
}