1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-26 23:11:19 +01:00
Benjamin Valentin bf5926283b gnrc_netreg: drain mbox on unregister
If there are still messages in the mbox when gnrc_netreg_unregister()
is called, we must release the associated pktbuf snips, otherwise
they are leaked away forever.

E.g. `sock_udp_close()` was called without receiving all messages with
`sock_udp_recv()`.
2022-05-29 22:42:48 +02:00
..
2021-01-26 16:17:18 +01:00
2022-02-21 15:15:02 +01:00
2021-01-21 11:22:33 +01:00
2021-11-30 10:27:46 +01:00
2018-06-11 19:12:02 +02:00
2015-08-30 14:00:33 +02:00