tests/zoap: fix net_pkt leak in test_observer_client()
Signed-off-by: Michael Scott <michael.scott@linaro.org>
This commit is contained in:
parent
035a7e9781
commit
5ace805097
1 changed files with 1 additions and 1 deletions
|
@ -903,7 +903,7 @@ static int test_observer_client(void)
|
|||
done:
|
||||
net_pkt_unref(pkt);
|
||||
if (rsp_pkt) {
|
||||
net_pkt_unref(pkt);
|
||||
net_pkt_unref(rsp_pkt);
|
||||
}
|
||||
|
||||
TC_END_RESULT(result);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue