forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit45594a6
Neil Conway
Fix three Python reference leaks in PLy_traceback(). This would result
in leaking memory when invoking a PL/Python procedure that raises anexception. Unfortunately this still leaks memory, but at least thelargest leak has been plugged.This patch also fixes a reference counting mistake in PLy_modify_tuple()for 8.0, 8.1 and HEAD: we don't actually own a reference to `platt', sowe shouldn't Py_DECREF() it.1 parentdde9457 commit45594a6
1 file changed
+6
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
543 | 543 | | |
544 | 544 | | |
545 | 545 | | |
546 | | - | |
547 | 546 | | |
548 | 547 | | |
549 | 548 | | |
| |||
1068 | 1067 | | |
1069 | 1068 | | |
1070 | 1069 | | |
1071 | | - | |
| 1070 | + | |
1072 | 1071 | | |
1073 | 1072 | | |
1074 | 1073 | | |
| |||
2516 | 2515 | | |
2517 | 2516 | | |
2518 | 2517 | | |
| 2518 | + | |
2519 | 2519 | | |
2520 | 2520 | | |
2521 | 2521 | | |
| |||
2534 | 2534 | | |
2535 | 2535 | | |
2536 | 2536 | | |
| 2537 | + | |
2537 | 2538 | | |
2538 | 2539 | | |
2539 | | - | |
| 2540 | + | |
2540 | 2541 | | |
2541 | 2542 | | |
2542 | 2543 | | |
| |||
2545 | 2546 | | |
2546 | 2547 | | |
2547 | 2548 | | |
| 2549 | + | |
2548 | 2550 | | |
2549 | 2551 | | |
2550 | 2552 | | |
| |||
0 commit comments
Comments
(0)