From 56450a416cbf8f770d7511b18624e0d057e2b449 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Tue, 20 Aug 2013 11:16:14 -0700 Subject: [PATCH] ofproto-dpif-xlate: Add comment on xlate_actions(). Signed-off-by: Ben Pfaff --- ofproto/ofproto-dpif-xlate.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ofproto/ofproto-dpif-xlate.c b/ofproto/ofproto-dpif-xlate.c index e80ec8491..45786756c 100644 --- a/ofproto/ofproto-dpif-xlate.c +++ b/ofproto/ofproto-dpif-xlate.c @@ -2524,7 +2524,10 @@ actions_output_to_local_port(const struct xlate_ctx *ctx) } /* Translates the 'ofpacts_len' bytes of "struct ofpacts" starting at 'ofpacts' - * into datapath actions in 'odp_actions', using 'ctx'. */ + * into datapath actions in 'odp_actions', using 'ctx'. + * + * The caller must take responsibility for eventually freeing 'xout', with + * xlate_out_uninit(). */ void xlate_actions(struct xlate_in *xin, struct xlate_out *xout) { -- 2.43.0