aboutsummaryrefslogtreecommitdiffstats
path: root/lib/librte_eal/common/eal_common_log.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/librte_eal/common/eal_common_log.c')
-rw-r--r--lib/librte_eal/common/eal_common_log.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/librte_eal/common/eal_common_log.c b/lib/librte_eal/common/eal_common_log.c
index e894b75e..4b2409a8 100644
--- a/lib/librte_eal/common/eal_common_log.c
+++ b/lib/librte_eal/common/eal_common_log.c
@@ -139,6 +139,8 @@ rte_log_set_level_regexp(const char *pattern, uint32_t level)
rte_logs.dynamic_types[i].loglevel = level;
}
+ regfree(&r);
+
return 0;
}