diff options
| author | root <[email protected]> | 2024-01-05 07:16:55 +0000 |
|---|---|---|
| committer | root <[email protected]> | 2024-01-05 07:16:55 +0000 |
| commit | db72c15d9c274a414d10b7c6d42efb68d18108ea (patch) | |
| tree | a70e98a7374369f4335d8f40eb7bfffe174efe5f /shaping/src/shaper_global_stat.cpp | |
| parent | 0822899c4f2d2932ce2a3cc1e1c1bba7c2b27ad0 (diff) | |
TSG-18278: record queue_len on actually blocked profile
Diffstat (limited to 'shaping/src/shaper_global_stat.cpp')
| -rw-r--r-- | shaping/src/shaper_global_stat.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/shaping/src/shaper_global_stat.cpp b/shaping/src/shaper_global_stat.cpp index 771438a..03a913f 100644 --- a/shaping/src/shaper_global_stat.cpp +++ b/shaping/src/shaper_global_stat.cpp @@ -127,6 +127,10 @@ void shaper_global_stat_destroy(struct shaping_global_stat *stat) return; } + if (stat->stat_data) { + free(stat->stat_data); + } + if (stat->instance) { fieldstat_instance_free(stat->instance); } |
