changeset: 76412:b82a471d2c5e branch: 2.7 parent: 76408:dd23333b579a user: Gregory P. Smith date: Wed Apr 18 16:41:56 2012 -0700 files: Python/import.c description: Fix compiler warning related to issue #14331. harmless. diff -r dd23333b579a -r b82a471d2c5e Python/import.c --- a/Python/import.c Wed Apr 18 12:48:09 2012 -0700 +++ b/Python/import.c Wed Apr 18 16:41:56 2012 -0700 @@ -1267,7 +1267,8 @@ } name = PyMem_MALLOC(MAXPATHLEN+1); if (name == NULL) { - return PyErr_NoMemory(); + PyErr_NoMemory(); + return NULL; } strcpy(name, subname);

AltStyle によって変換されたページ (->オリジナル) /