diff options
Diffstat (limited to 'src/common/HPM.c')
-rw-r--r-- | src/common/HPM.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/common/HPM.c b/src/common/HPM.c index 25ca5441d..6e73d1b2a 100644 --- a/src/common/HPM.c +++ b/src/common/HPM.c @@ -882,8 +882,9 @@ void hpm_final(void) { aFree(HPM->confs[i]); } if (HPM->cmdline_plugins) { - for (i = 0; i < HPM->cmdline_plugins_count; i++) - aFree(HPM->cmdline_plugins[i]); + int j; + for (j = 0; j < HPM->cmdline_plugins_count; j++) + aFree(HPM->cmdline_plugins[j]); aFree(HPM->cmdline_plugins); HPM->cmdline_plugins = NULL; HPM->cmdline_plugins_count = 0; |