Skip to content
Commit ab43bfe7 authored by Robert Lubos's avatar Robert Lubos Committed by Marti Bolivar
Browse files

tests: net: tcp: Fix packet leak in recv callback



The net_context recv callback used by the test suite did not release the
net_pkt provided, causing packet leak. Since the test suite allocated
plenty of packets, it wasn't visible, however could become a problem if
more tests are added.

Signed-off-by: default avatarRobert Lubos <robert.lubos@nordicsemi.no>
parent 5d9c65fe
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment