log: fix memory leak in regexp level set
authorIvan Malov <ivan.malov@oktetlabs.ru>
Sun, 21 Jan 2018 17:05:10 +0000 (17:05 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 25 Jan 2018 22:32:06 +0000 (23:32 +0100)
commit01aa0d95c82163e72e69ac90b3c8cfa15728ce61
tree74fbcc7ba4e3a2d66c7976c560798a004eb8dda5
parentee7937ea69213aebf9aafc8ba81c41e942ad6912
log: fix memory leak in regexp level set

Fixes: a5279180f510 ("eal: change several log levels matching a regexp")
Cc: stable@dpdk.org
Signed-off-by: Ivan Malov <ivan.malov@oktetlabs.ru>
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
lib/librte_eal/common/eal_common_log.c