Commit b2281de
authored
Use
Follow up on this discussion: #692 (comment)
Ensure that the acquired buffer is properly released even if an exception is raised. Given we may raise an exception, this is important to check.
cc @vyasr
Authors:
- https://github.com/jakirkham
Approvers:
- Vyas Ramasubramani (https://github.com/vyasr)
URL: #728try...finally... to ensure buffer is released (#728)1 parent a79389c commit b2281de
1 file changed
+26
-25
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
152 | 145 | | |
153 | | - | |
154 | | - | |
| 146 | + | |
| 147 | + | |
155 | 148 | | |
156 | 149 | | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
157 | 159 | | |
| 160 | + | |
158 | 161 | | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
| 162 | + | |
| 163 | + | |
163 | 164 | | |
164 | 165 | | |
165 | 166 | | |
| |||
0 commit comments