ofproto-dpif-xlate: Add comment on xlate_actions().
authorBen Pfaff <blp@nicira.com>
Tue, 20 Aug 2013 18:16:14 +0000 (11:16 -0700)
committerBen Pfaff <blp@nicira.com>
Tue, 20 Aug 2013 18:16:14 +0000 (11:16 -0700)
Signed-off-by: Ben Pfaff <blp@nicira.com>
ofproto/ofproto-dpif-xlate.c

index e80ec84..4578675 100644 (file)
@@ -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)
 {