samples: net: dtls_client: Fix mem leak in error path
We need to unref the net_buf in error path in RX and TX.
Jira: ZEP-1169
Change-Id: Icb6d43cb6b7411a5135ea09c6ae96742566fafc4
Signed-off-by:
Jukka Rissanen <jukka.rissanen@linux.intel.com>
(cherry picked from commit 22ddc4419c6d7823cd530a5d5fcd1d508add4a50)
Loading
Please sign in to comment