ofp-print: Fix misaligned data access in ofp_print_error_msg().
[sliver-openvswitch.git] / lib / ofp-print.c
index 60e2148..02f3db0 100644 (file)
@@ -1368,6 +1368,7 @@ ofp_print_error_msg(struct ds *string, const struct ofp_header *oh)
         ds_put_cstr(string, s);
         free(s);
     }
+    ofpbuf_uninit(&payload);
 }
 
 static void