k_fifo_put is a macro that expands the call to net_pkt_ref(pending) multiple times when CONFIG_TRACING is enabled thus causing extra reference for the pending packet and a memory leak. Fix by moving the referencing call to a separate line. Signed-off-by: Rait Rääk <raitraak@gmail.com> |
||
|---|---|---|
| .. | ||
| conn_mgr | ||
| ip | ||
| l2 | ||
| lib | ||
| pkt_filter | ||
| CMakeLists.txt | ||
| hostname.c | ||
| Kconfig | ||
| Kconfig.hostname | ||
| Kconfig.template.log_config.default.net | ||
| Kconfig.template.log_config.net | ||