You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2018/07/16 14:22:24 UTC

[GitHub] MariuszSkamra opened a new pull request #8: smp: Refactor freeing request and response buffers

MariuszSkamra opened a new pull request #8: smp: Refactor freeing request and response buffers
URL: https://github.com/apache/mynewt-mcumgr/pull/8
 
 
   This fixes buffer freeing from tx_rsp_cb context. This leads to
   situations where, user_data that was stored in the buffer was not
   properly free'd, because some of the buffers were freed from
   smp_process_request_packet and other from tx_rsp_cb.
   To be consistent, buffers are now freed in smp_process_request_packet
   by calling common mgmt_streamer_free_buf function.
   
   Signed-off-by: Mariusz Skamra <ma...@codecoup.pl>

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services