Static code scan issues seen in File: /samples/net/sockets/can/src/main.c
Category: Resource leaks
Function: setup_socket
Component: Samples
CID: 191003
Please fix or provide comments to square it off in coverity in the link: https://scan9.coverity.com/reports.htm#v32951/p12996