diff options
| author | Leo <thinkabit.ukim@gmail.com> | 2019-09-07 15:22:48 -0300 |
|---|---|---|
| committer | Leo <thinkabit.ukim@gmail.com> | 2019-09-07 15:22:48 -0300 |
| commit | d955b157fb52332b8cae8dabc86bfbcbfc6fe6db (patch) | |
| tree | 75814f339905777ff32605661ca54272f1998314 /testing/py-pam/PyPAM-0.5.0-dealloc.patch | |
| parent | 28f37a31742bb536b88aca4fff68bcb66d8eca26 (diff) | |
| download | aports-d955b157fb52332b8cae8dabc86bfbcbfc6fe6db.tar.bz2 aports-d955b157fb52332b8cae8dabc86bfbcbfc6fe6db.tar.xz | |
testing/py3-pam: rename from py-pam
Diffstat (limited to 'testing/py-pam/PyPAM-0.5.0-dealloc.patch')
| -rw-r--r-- | testing/py-pam/PyPAM-0.5.0-dealloc.patch | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/testing/py-pam/PyPAM-0.5.0-dealloc.patch b/testing/py-pam/PyPAM-0.5.0-dealloc.patch deleted file mode 100644 index b73dd0b08c..0000000000 --- a/testing/py-pam/PyPAM-0.5.0-dealloc.patch +++ /dev/null @@ -1,17 +0,0 @@ -diff -up PyPAM-0.5.0/PAMmodule.c.dealloc PyPAM-0.5.0/PAMmodule.c ---- PyPAM-0.5.0/PAMmodule.c.dealloc 2011-01-17 22:48:22.000000000 +0100 -+++ PyPAM-0.5.0/PAMmodule.c 2011-01-18 21:24:59.000000000 +0100 -@@ -538,10 +538,11 @@ static void PyPAM_dealloc(PyPAMObject *s - free(self->service); - free(self->user); - free(self->conv); -- pam_end(self->pamh, PAM_SUCCESS); -+ if (self->pamh) -+ pam_end(self->pamh, PAM_SUCCESS); - dlclose(self->dlh2); - dlclose(self->dlh1); -- PyMem_DEL(self); -+ PyObject_Del(self); - } - - static PyObject * PyPAM_getattr(PyPAMObject *self, char *name) |
