1 [PATCH] fix two bugs in the PAM object deallocation
3 Fixes https://bugzilla.redhat.com/show_bug.cgi?id=658955
6 http://pkgs.fedoraproject.org/cgit/PyPAM.git/plain/PyPAM-0.5.0-dealloc.patch
8 Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 diff -up PyPAM-0.5.0/PAMmodule.c.dealloc PyPAM-0.5.0/PAMmodule.c
10 --- PyPAM-0.5.0/PAMmodule.c.dealloc 2011-01-17 22:48:22.000000000 +0100
11 +++ PyPAM-0.5.0/PAMmodule.c 2011-01-18 21:24:59.000000000 +0100
12 @@ -538,10 +538,11 @@ static void PyPAM_dealloc(PyPAMObject *s
16 - pam_end(self->pamh, PAM_SUCCESS);
18 + pam_end(self->pamh, PAM_SUCCESS);
25 static PyObject * PyPAM_getattr(PyPAMObject *self, char *name)