============================================================
*** src/pl/plpython/plpython.c	caab6efbac99de55d61348c6467b72b169c72199
--- src/pl/plpython/plpython.c	29438f318ecb215d1af5aeddd8c4304352d432ac
***************
*** 895,900 ****
--- 895,901 ----
  			 * FIXME -- error check this
  			 */
  			PyList_SetItem(args, i, arg);
+ 			arg = NULL;
  		}
  	}
  	PG_CATCH();
