Commit 936a405
Oscar Pacheco
BUG#37399636: The C-extension has a memory leak when working with prepared statements
Fixed a memory leak in the C-extension occurring in
prepared statements. Prepared statement object
reference counting was being incremented upon
instantiation, but never decremented when closing
the statement.
Change-Id: Icbac790d47362a695f38666cecc79ad8cae1494b1 parent 790e6e9 commit 936a405
2 files changed
+5
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3259 | 3259 | | |
3260 | 3260 | | |
3261 | 3261 | | |
3262 | | - | |
3263 | | - | |
3264 | 3262 | | |
3265 | 3263 | | |
3266 | 3264 | | |
| |||
3951 | 3949 | | |
3952 | 3950 | | |
3953 | 3951 | | |
| 3952 | + | |
| 3953 | + | |
| 3954 | + | |
| 3955 | + | |
3954 | 3956 | | |
3955 | 3957 | | |
3956 | 3958 | | |
| |||
0 commit comments