[dpdk-dev] [PATCH] l3fwd-acl: fix possible memory leak.

2014-12-17 Thread Thomas Monjalon
> At error app_acl_init() can return without freeing dynamically allocated > memory. > Not really a big problem, as if app_acl_init() fails, > then application would terminate immediately anyway. > Though it is a good coding practise to make a function to cleanup after > itself. > > Signed-off-b

[dpdk-dev] [PATCH] l3fwd-acl: fix possible memory leak.

2014-12-16 Thread Konstantin Ananyev
At error app_acl_init() can return without freeing dynamically allocated memory. Not really a big problem, as if app_acl_init() fails, then application would terminate immediately anyway. Though it is a good coding practise to make a function to cleanup after itself. Signed-off-by: Konstantin Anan