Acked-by: Justin Pettit <jpet...@nicira.com>

On Sep 17, 2013, at 4:02 PM, Ben Pfaff <b...@nicira.com> wrote:

> Found by valgrind.
> 
> Signed-off-by: Ben Pfaff <b...@nicira.com>
> ---
> ofproto/ofproto.c |    1 +
> 1 file changed, 1 insertion(+)
> 
> diff --git a/ofproto/ofproto.c b/ofproto/ofproto.c
> index 0ceb85f..bd85104 100644
> --- a/ofproto/ofproto.c
> +++ b/ofproto/ofproto.c
> @@ -2487,6 +2487,7 @@ rule_actions_unref(struct rule_actions *actions)
> 
>         atomic_sub(&actions->ref_count, 1, &orig);
>         if (orig == 1) {
> +            free(actions->ofpacts);
>             free(actions);
>         } else {
>             ovs_assert(orig != 0);
> -- 
> 1.7.10.4
> 
> _______________________________________________
> dev mailing list
> dev@openvswitch.org
> http://openvswitch.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to