]> git.baikalelectronics.ru Git - kernel.git/commit
target: Fix memory leak on error in target_fabric_make_mappedlun
authorJoern Engel <joern@logfs.org>
Tue, 2 Sep 2014 21:49:57 +0000 (17:49 -0400)
committerNicholas Bellinger <nab@linux-iscsi.org>
Wed, 17 Sep 2014 21:34:50 +0000 (14:34 -0700)
commitade94361a5f0e957eaabeca656911f5c5f6796a1
treed4c02b4db2e7fcf8c3d162f4fefd4f5728a7db77
parent203390f4dbc1396d3a2a4f788d79235033653acd
target: Fix memory leak on error in target_fabric_make_mappedlun

This patch fixes a memory leak on error in target_fabric_make_mappedlun(),
where se_lun_acl memory does not get released on exit.

Found by coverity.

Signed-off-by: Joern Engel <joern@logfs.org>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_fabric_configfs.c