Skip to content

Commit e0b9c33

Browse files
committed
todo, handle null returns
1 parent 03260bc commit e0b9c33

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

ddtrace/profiling/collector/_memalloc_heap.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -407,9 +407,7 @@ memalloc_heap(void)
407407

408408
/* First, iterate over live samples using the new iterator API */
409409
memalloc_heap_map_iter_t* it = memalloc_heap_map_iter_new(global_heap_tracker.allocs_m);
410-
if (it == NULL) {
411-
// TODO: return
412-
}
410+
// TODO: handle NULL return
413411

414412
void* key;
415413
traceback_t* tb;

0 commit comments

Comments
 (0)