Skip to content

Commit

Permalink
Merge branch 'bugfix/fix_double_free_coc' into 'master'
Browse files Browse the repository at this point in the history
fix(nimble): Removed double free of packet

See merge request espressif/esp-idf!29030
  • Loading branch information
jack0c committed Feb 21, 2024
2 parents d25980c + 3d03c07 commit be2ccdc
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 be2ccdc

Please sign in to comment.