iproute2/dcb
Andrea Claudi 2d212aae55 dcb: fix memory leak
main() dinamically allocates dcb, but when dcb_help() is called it
returns without freeing it.

Fix this using a goto, as it is already done in the same function.

Fixes: 67033d1c1c ("Add skeleton of a new tool, dcb")
Signed-off-by: Andrea Claudi <aclaudi@redhat.com>
Reviewed-by: Petr Machata <me@pmachata.org>
Signed-off-by: David Ahern <dsahern@kernel.org>
2021-05-06 14:48:02 +00:00
..
.gitignore Add dcb/.gitignore 2020-11-29 20:39:47 +00:00
Makefile Merge git://git.kernel.org/pub/scm/network/iproute2/iproute2-next 2021-02-23 23:03:42 -08:00
dcb.c dcb: fix memory leak 2021-05-06 14:48:02 +00:00
dcb.h dcb: Add a subtool for the DCBX object 2021-01-18 04:09:29 +00:00
dcb_app.c dcb: fix return value on dcb_cmd_app_show 2021-05-06 14:47:57 +00:00
dcb_buffer.c dcb: Add a subtool for the DCB buffer object 2020-12-14 16:42:03 +00:00
dcb_dcbx.c dcb: Add a subtool for the DCBX object 2021-01-18 04:09:29 +00:00
dcb_ets.c dcb: ets: Change the way show parameters are given in synopsis 2020-12-14 16:41:22 +00:00
dcb_maxrate.c dcb: Add a subtool for the DCB maxrate object 2020-12-14 16:42:07 +00:00
dcb_pfc.c dcb: Add a subtool for the DCB PFC object 2020-12-14 16:41:58 +00:00