Commit b55fed0
src: use MallocedBuffer abstraction for buffers
Drop `Free` and `std::unique_ptr` in favor of Node's `MallocedBuffer`
for `char[]` buffer memory mangement.
PR-URL: #23543
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>1 parent 6e5a5ff commit b55fed0Copy full SHA for b55fed0
File tree
Expand file treeCollapse file tree
1 file changed
+11
-15
lines changedOpen diff view settings
Filter options
- src
Expand file treeCollapse file tree
1 file changed
+11
-15
lines changedOpen diff view settings
Collapse file
+11-15Lines changed: 11 additions & 15 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
8 | 8 | |
9 | 9 | |
10 | 10 | |
| 11 | + |
11 | 12 | |
12 | 13 | |
13 | 14 | |
| ||
37 | 38 | |
38 | 39 | |
39 | 40 | |
40 | | - |
41 | | - |
42 | | - |
43 | | - |
44 | | - |
45 | 41 | |
46 | 42 | |
47 | 43 | |
| ||
127 | 123 | |
128 | 124 | |
129 | 125 | |
130 | | - |
| 126 | + |
131 | 127 | |
132 | | - |
| 128 | + |
133 | 129 | |
134 | 130 | |
135 | 131 | |
| ||
145 | 141 | |
146 | 142 | |
147 | 143 | |
148 | | - |
| 144 | + |
149 | 145 | |
150 | 146 | |
151 | 147 | |
| ||
164 | 160 | |
165 | 161 | |
166 | 162 | |
167 | | - |
| 163 | + |
168 | 164 | |
169 | 165 | |
170 | 166 | |
| ||
263 | 259 | |
264 | 260 | |
265 | 261 | |
266 | | - |
| 262 | + |
267 | 263 | |
268 | 264 | |
269 | 265 | |
270 | | - |
271 | | - |
| 266 | + |
| 267 | + |
272 | 268 | |
273 | 269 | |
274 | 270 | |
275 | | - |
| 271 | + |
276 | 272 | |
277 | | - |
| 273 | + |
278 | 274 | |
279 | 275 | |
280 | 276 | |
281 | 277 | |
282 | 278 | |
283 | 279 | |
284 | 280 | |
285 | | - |
| 281 | + |
286 | 282 | |
287 | 283 | |
288 | 284 | |
|
0 commit comments