Skip to content

Commit

Permalink
Merge branch 'bugfix/fix_double_free_coc_v5.1' into 'release/v5.1'
Browse files Browse the repository at this point in the history
fix(nimble): Removed double free of packet (v5.1)

See merge request espressif/esp-idf!29032
  • Loading branch information
jack0c committed Feb 28, 2024
2 parents 2e9916b + 0b0648e commit 4677804
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ blecent_l2cap_coc_send_data(struct ble_l2cap_chan *chan)
MODLOG_DFLT(INFO, "Data sent successfully");
} else {
MODLOG_DFLT(INFO, "Data sending failed, rc = %d", rc);
os_mbuf_free_chain(sdu_rx_data);
}
os_mbuf_free(sdu_rx_data);
}

/**
Expand Down

0 comments on commit 4677804

Please sign in to comment.