Skip to content
Commit 695cfff5 authored by Jukka Rissanen's avatar Jukka Rissanen
Browse files

samples: net: dtls_client: Fix memory leak in RX path



If we have not yet handled the previous RX buf, then we need
to drop the latest received one, otherwise the earlier net_buf
is leaked.

Change-Id: I1b69e07e8b3a3b87c76d923c847dc8316c128e76
Signed-off-by: default avatarJukka Rissanen <jukka.rissanen@linux.intel.com>
parent 3a2bd9a1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment