Commit 98a0770
src: use unique pointer for tracing_agent
Use std::unique_ptr instead of raw pointers for the
tracing_agent_ in node.cc. This makes ownership clearer and we
don't risk a memory leak.
PR-URL: #17012
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Timothy Gu <timothygu99@gmail.com>1 parent 2eec944 commit 98a0770Copy full SHA for 98a0770
File tree
Expand file treeCollapse file tree
1 file changed
+4
-5
lines changedOpen diff view settings
Filter options
- src
Expand file treeCollapse file tree
1 file changed
+4
-5
lines changedOpen diff view settings
Collapse file
+4-5Lines changed: 4 additions & 5 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
263 | 263 | |
264 | 264 | |
265 | 265 | |
266 | | - |
267 | | - |
| 266 | + |
| 267 | + |
268 | 268 | |
269 | 269 | |
270 | 270 | |
| ||
276 | 276 | |
277 | 277 | |
278 | 278 | |
279 | | - |
280 | | - |
| 279 | + |
281 | 280 | |
282 | 281 | |
283 | 282 | |
| ||
314 | 313 | |
315 | 314 | |
316 | 315 | |
317 | | - |
| 316 | + |
318 | 317 | |
319 | 318 | |
320 | 319 | |
|
0 commit comments