Skip to content

Commit

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

See merge request espressif/esp-idf!29031
  • Loading branch information
jack0c committed Feb 21, 2024
2 parents 25290a6 + 6f15d6c commit 923546b
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 923546b

Please sign in to comment.