seccomp: fix resource leak
authorKevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
Tue, 11 Feb 2020 09:07:00 +0000 (09:07 +0000)
committerKevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
Tue, 11 Feb 2020 09:07:04 +0000 (09:07 +0000)
commitc30b23e3657a2838a99daa8bd2d16909c027a261
tree407a5892b3ac259b3c77a4142a99c45c1951dd39
parentbcb86554f1b454531e79dac82fcb0463d125f2fb
seccomp: fix resource leak

Fix coverity reported resource leaks:

CID 1446217:    (RESOURCE_LEAK)
   Variable "filter" going out of scope leaks the storage it points to.

Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
jail/seccomp.c