We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d45e17 commit 008ce8cCopy full SHA for 008ce8c
tests/lib/net_buf/buf/prj.conf
@@ -1,5 +1,4 @@
1
CONFIG_NET_BUF=y
2
-CONFIG_NET_TEST=y
3
CONFIG_HEAP_MEM_POOL_SIZE=4096
4
#CONFIG_NET_BUF_LOG=y
5
#CONFIG_NET_BUF_LOG_LEVEL_DBG=y
tests/lib/net_buf/buf/src/main.c
@@ -288,7 +288,6 @@ ZTEST(net_buf_tests, test_net_buf_4)
288
289
if ((i % 2) && next) {
290
net_buf_frag_del(frag, next);
291
- net_buf_unref(next);
292
removed++;
293
} else {
294
frag = next;
@@ -312,7 +311,6 @@ ZTEST(net_buf_tests, test_net_buf_4)
312
311
struct net_buf *frag2 = buf->frags;
313
314
net_buf_frag_del(buf, frag2);
315
- net_buf_unref(frag2);
316
317
}
318
0 commit comments