CPqD / ofsoftswitch13

OpenFlow 1.3 switch.
http://cpqd.github.com/ofsoftswitch13
304 stars 192 forks source link

[bug report] function "handle_control_packet_out" memory leak #289

Open davidmpc opened 6 years ago

davidmpc commented 6 years ago

There is a memory leak in function "handle_control_packet_out", it doesn't free the data malloced in the packet out message. At the end of the function, ofl_msg_free_packet_out(msg, false, dp->exp); has to be modified to ofl_msg_free_packet_out(msg, true, dp->exp);