selinux: fix possible memory leak
authorGeyslan G. Bem <geyslan@gmail.com>
Sun, 24 Nov 2013 11:37:01 +0000 (08:37 -0300)
committerPaul Moore <pmoore@redhat.com>
Mon, 25 Nov 2013 22:00:33 +0000 (17:00 -0500)
commit8e645c345a4cf6b8b13054b4ec2f6371f05876a9
treed81d01ba23cb6dc1b12396d4992fea48e1b5b0ee
parentb5495b4217d3fa64deac479db83dbede149af7d8
selinux: fix possible memory leak

Free 'ctx_str' when necessary.

Signed-off-by: Geyslan G. Bem <geyslan@gmail.com>
Cc: stable@vger.kernel.org
Signed-off-by: Paul Moore <pmoore@redhat.com>
security/selinux/xfrm.c