diff --git a/Modules/_tracemalloc.c b/Modules/_tracemalloc.c index 7e9f69845d0..5f45f3d20f4 100644 --- a/Modules/_tracemalloc.c +++ b/Modules/_tracemalloc.c @@ -93,8 +93,12 @@ typedef struct { static PyObject *unknown_filename = NULL; static traceback_t tracemalloc_empty_traceback; +/* Trace of a memory block */ typedef struct { + /* Size of the memory block in bytes */ size_t size; + + /* Traceback where the memory block was allocated */ traceback_t *traceback; } trace_t;