Skip to content

Commit

Permalink
fix(nimble): Removed double free of packet
Browse files Browse the repository at this point in the history
  • Loading branch information
rahult-github committed Feb 13, 2024
1 parent 7e7b1fc commit 3d03c07
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 3d03c07

Please sign in to comment.