X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvnet%2Fdpo%2Fdpo.c;h=83eb6f12c4435840922db4429f67a46ee6943689;hb=0a4e0063f79490f134150a0cefe33600733f7d94;hp=19e3714c5363b50ce1684f8cf843fd8429c187c6;hpb=2303cb181b51f63c909cd506125c1f832432865a;p=vpp.git diff --git a/src/vnet/dpo/dpo.c b/src/vnet/dpo/dpo.c index 19e3714c536..83eb6f12c44 100644 --- a/src/vnet/dpo/dpo.c +++ b/src/vnet/dpo/dpo.c @@ -565,6 +565,9 @@ dpo_stack_from_node (u32 child_node_index, } } dpo_stack_i(edge, dpo, parent); + + /* should free this local vector to avoid memory leak */ + vec_free(parent_indices); } static clib_error_t *