The header and packet struct are only used in the scope of this function and they are freed at the end of it. Also these structs are rather small, so they can safely be allocated on the stack. By doing so memory leaks on the error paths are avoided. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> |
||
---|---|---|
.. | ||
alsa | ||
asix-sigma | ||
chronovu-la8 | ||
common | ||
demo | ||
fx2lafw | ||
hantek-dso | ||
link-mso19 | ||
mastech-va18b | ||
openbench-logic-sniffer | ||
zeroplus-logic-cube | ||
Makefile.am |