projects
/
platform
/
kernel
/
linux-rpi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
samples/landlock: Fix path_list memory leak
[platform/kernel/linux-rpi.git]
/
samples
/
landlock
/
sandboxer.c
diff --git
a/samples/landlock/sandboxer.c
b/samples/landlock/sandboxer.c
index
7a15910
..
8859fc1
100644
(file)
--- a/
samples/landlock/sandboxer.c
+++ b/
samples/landlock/sandboxer.c
@@
-134,6
+134,7
@@
static int populate_ruleset(
ret = 0;
out_free_name:
+ free(path_list);
free(env_path_name);
return ret;
}