mirror of
https://github.com/python/cpython.git
synced 2025-08-03 00:23:06 +00:00
fixed refcount leak in CreateNewWindow() and CreateWindowFromResource().
This commit is contained in:
parent
aee2d5f975
commit
84fca948c8
2 changed files with 9 additions and 2 deletions
|
@ -136,6 +136,13 @@ class MyScanner(Scanner):
|
|||
([("void", "wStorage", "OutMode")],
|
||||
[("NullStorage", "*", "InMode")]),
|
||||
|
||||
# match FindWindowOfClass
|
||||
([("WindowRef", "outWindow", "OutMode"), ("WindowPartCode", "outWindowPart", "OutMode")],
|
||||
[("ExistingWindowPtr", "*", "OutMode"), ("WindowPartCode", "outWindowPart", "OutMode")]),
|
||||
# then match CreateNewWindow and CreateWindowFromResource
|
||||
([("WindowRef", "outWindow", "OutMode")],
|
||||
[("WindowRef", "*", "*")]),
|
||||
|
||||
([("WindowPtr", "*", "OutMode")],
|
||||
[("ExistingWindowPtr", "*", "*")]),
|
||||
([("WindowRef", "*", "OutMode")], # Same, but other style headerfiles
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue