diff options
Diffstat (limited to 'src/plugins/perfmon/perfmon.c')
-rw-r--r-- | src/plugins/perfmon/perfmon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/perfmon/perfmon.c b/src/plugins/perfmon/perfmon.c index 4a220c7a233..799659d8338 100644 --- a/src/plugins/perfmon/perfmon.c +++ b/src/plugins/perfmon/perfmon.c @@ -70,7 +70,7 @@ perfmon_reset (vlib_main_t *vm) vec_free (tr->node_stats); for (int j = 0; j < PERF_MAX_EVENTS; j++) if (tr->mmap_pages[j]) - munmap (tr->mmap_pages, page_size); + munmap (tr->mmap_pages[j], page_size); } vec_free (pm->thread_runtimes); |