From 21d335ed9ef6fbb16341809fe224b45a3f41243f Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Fri, 15 Oct 1993 13:01:11 +0000 Subject: Makefile, import.c: Lance's alternative module search (allow .pyc file without .py file); Bill's dynamic loading for SunOS using shared libraries. pwdmodule.c (mkgrent): remove DECREF of uninitialized variable. classobject.c (instance_getattr): Fix case when class lookup returns unbound method instead of function. --- Modules/pwdmodule.c | 1 - 1 file changed, 1 deletion(-) (limited to 'Modules/pwdmodule.c') diff --git a/Modules/pwdmodule.c b/Modules/pwdmodule.c index eb7a1cc3eb..00ea348a2a 100644 --- a/Modules/pwdmodule.c +++ b/Modules/pwdmodule.c @@ -120,7 +120,6 @@ static object *mkgrent(p) object *v, *w; char **member; if ((w = newlistobject(0)) == NULL) { - DECREF(v); return NULL; } for (member = p->gr_mem; *member != NULL; member++) { -- cgit v1.2.1