Commit dfed725
committed
Fix memory leak in exec statement with code object -- the None returned
by PyEval_EvalCode() on success was never DECREF'ed.
Fix by Bernhard Herzog.1 parent 3120bc3 commit dfed725
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2773 | 2773 | | |
2774 | 2774 | | |
2775 | 2775 | | |
2776 | | - | |
2777 | | - | |
| 2776 | + | |
| 2777 | + | |
| 2778 | + | |
2778 | 2779 | | |
| 2780 | + | |
2779 | 2781 | | |
2780 | 2782 | | |
2781 | 2783 | | |
| |||
0 commit comments