Re: [ovs-dev] [PATCH 1/2] ovs-router: fix memory leak reported by valgrind.

2017-02-08 Thread William Tu
yes, thanks. I will introduce cls_rule_destroy() and free the minimatch inside. --William On Tue, Feb 7, 2017 at 11:33 PM, Andy Zhou wrote: > On Tue, Feb 7, 2017 at 10:41 PM, William Tu wrote: >> Valgrind testcase 772: appctl - route/lookup6 reports the >> following definitely lost: >> xmalloc

Re: [ovs-dev] [PATCH 1/2] ovs-router: fix memory leak reported by valgrind.

2017-02-07 Thread Andy Zhou
On Tue, Feb 7, 2017 at 10:41 PM, William Tu wrote: > Valgrind testcase 772: appctl - route/lookup6 reports the > following definitely lost: > xmalloc (util.c:112) > miniflow_alloc (flow.c:2500) > minimatch_init (match.c:1387) > rt_entry_delete (ovs-router.c:274) > ovs_router_del (ovs-rou

[ovs-dev] [PATCH 1/2] ovs-router: fix memory leak reported by valgrind.

2017-02-07 Thread William Tu
Valgrind testcase 772: appctl - route/lookup6 reports the following definitely lost: xmalloc (util.c:112) miniflow_alloc (flow.c:2500) minimatch_init (match.c:1387) rt_entry_delete (ovs-router.c:274) ovs_router_del (ovs-router.c:384) process_command (unixctl.c:313) Signed-off-by: Willi