]> git.baikalelectronics.ru Git - kernel.git/commit
net/iucv: Free memory obtained by kzalloc
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Tue, 13 Mar 2018 15:50:06 +0000 (16:50 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 16 Mar 2018 15:42:12 +0000 (11:42 -0400)
commitd228348b3460cbd8b2c3a2a0da651603747ee7a1
tree8ddaa46d362cc983b2ca956074e3f174f9c1e858
parente02075d50875e0f9bf3fb94026c9152c72aa9e52
net/iucv: Free memory obtained by kzalloc

Free memory by calling put_device(), if afiucv_iucv_init is not
successful.

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Signed-off-by: Ursula Braun <ursula.braun@de.ibm.com>
Signed-off-by: Julian Wiedmann <jwi@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/iucv/af_iucv.c