mirror of
https://github.com/python/cpython.git
synced 2025-08-25 19:24:42 +00:00
Issue #18994: Add a missing check for a return value in fcntmodule. Patch by
Vajrasky Kok.
This commit is contained in:
parent
837a6e012f
commit
5abca14b00
1 changed files with 3 additions and 1 deletions
|
@ -628,6 +628,8 @@ PyInit_fcntl(void)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
/* Add some symbolic constants to the module */
|
/* Add some symbolic constants to the module */
|
||||||
all_ins(m);
|
if (all_ins(m) < 0)
|
||||||
|
return NULL;
|
||||||
|
|
||||||
return m;
|
return m;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue