Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit a56da4a

Browse filesBrowse files
authored
Merge pull request #20347 from anntzer/pg
Fix possible refleak in PathGenerator.
2 parents bcc1ce8 + 4646515 commit a56da4a
Copy full SHA for a56da4a

File tree

Expand file treeCollapse file tree

1 file changed

+1
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-0
lines changed

‎src/py_adaptors.h

Copy file name to clipboardExpand all lines: src/py_adaptors.h
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,7 @@ class PathGenerator
212212
return 0;
213213
}
214214

215+
Py_XDECREF(m_paths);
215216
m_paths = obj;
216217
Py_INCREF(m_paths);
217218

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.