diff Modules/threadmodule.c @ 1418:b1bb74a2b593 legacy-trunk

Port to Solaris 2.3.
author Sjoerd Mullender <sjoerd@acm.org>
date Fri, 03 Dec 1993 16:54:45 +0000
parents 6ee380349c84
children 1940892d2fe3
line wrap: on
line diff
--- a/Modules/threadmodule.c	Tue Nov 30 14:57:42 1993 +0000
+++ b/Modules/threadmodule.c	Fri Dec 03 16:54:45 1993 +0000
@@ -195,7 +195,7 @@
 	func = gettupleitem(args, 0);
 	arg = gettupleitem(args, 1);
 	res = call_object(func, arg);
-	DECREF(arg); /* Matches the INCREF(arg) in thread_start_new_thread */
+	DECREF(args); /* Matches the INCREF(args) in thread_start_new_thread */
 	if (res == NULL) {
 		fprintf(stderr, "Unhandled exception in thread:\n");
 		print_error(); /* From pythonmain.c */