summaryrefslogtreecommitdiff
path: root/CodingStyle
diff options
context:
space:
mode:
authorDaniel Borkmann <dborkman@redhat.com>2013-06-12 12:31:16 +0200
committerDaniel Borkmann <dborkman@redhat.com>2013-06-12 12:31:16 +0200
commit4ee9acd587161df26332fc1e07027b1b527e8100 (patch)
treef21556927896002cb20375e55a671161eb5db2fd /CodingStyle
parent93e7cdadf9ddc619c1936303302d4edd50496204 (diff)
stun: close socket before returning in error case
Do not leak the socket resource when bailing out in error case. Found by the coverty scanner. Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Diffstat (limited to 'CodingStyle')
0 files changed, 0 insertions, 0 deletions
S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/xen-netfront.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/xen-netfront.c b/drivers/net/xen-netfront.c