]> granicus.if.org Git - python/commit
Stop INCREFing name, then checking if it's NULL. name (f_name) should never
authorNeal Norwitz <nnorwitz@gmail.com>
Mon, 17 Jul 2006 00:55:45 +0000 (00:55 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Mon, 17 Jul 2006 00:55:45 +0000 (00:55 +0000)
commitb337bb541bc3986f50d352fe13508ac8f0667bb0
treeaf506d4609f06efcf2089f7046f23aa4a84c018b
parentee4cc698ca906c519054a85d119c76e757227e82
Stop INCREFing name, then checking if it's NULL.  name (f_name) should never
be NULL so assert it.  Fix one place where we could have passed NULL.

Reported by Klocwork #66.
Objects/fileobject.c