ARM: Fix incorrect backport of 0b59d8806a31

Reported-by: Jim Faulkner <jfaulkne@ccs.neu.edu>
Fixed-by: Nicolas Schichan <nschichan@freebox.fr>
Signed-off-by: Zefan Li <lizefan@huawei.com>
This commit is contained in:
Zefan Li 2015-10-11 18:45:19 +08:00
parent 700af4cf0a
commit 0ca709ad35

View file

@ -899,7 +899,7 @@ void bpf_jit_compile(struct sk_filter *fp)
if (ctx.imm_count)
kfree(ctx.imms);
#endif
bpf_jit_binary_free(header);
module_free(NULL, ctx.target);
goto out;
}
build_epilogue(&ctx);