summaryrefslogtreecommitdiffstats
path: root/fs/readdir.c
diff options
context:
space:
mode:
authorDaniel Borkmann <dborkman@redhat.com>2013-12-16 11:45:01 +0100
committerDavid S. Miller <davem@davemloft.net>2013-12-17 17:11:00 -0500
commitd207cf4c1ad27c6f8881857ca301f8489826116d (patch)
tree94d8f2b324e5fa4fb04f0714adf569e25a1f226a /fs/readdir.c
parent8b138da62f3ef370bebaaed7385020993bb787ae (diff)
downloadlinux-d207cf4c1ad27c6f8881857ca301f8489826116d.tar.bz2
bpf_exp: free duplicated labels at exit time
Valgrind found that extracted labels that are passed from the lexer weren't freed upon exit. Therefore, add a small helper function that walks label tables and frees them. Since also NULL can be passed to free(3), we do not need to take care of that here. While at it, fix up a spacing error in bpf_set_curr_label(). Signed-off-by: Daniel Borkmann <dborkman@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/readdir.c')
0 files changed, 0 insertions, 0 deletions