projects
/
platform
/
kernel
/
linux-starfive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
apparmor: Fix ref count leak in task_kill
[platform/kernel/linux-starfive.git]
/
scripts
/
asn1_compiler.c
diff --git
a/scripts/asn1_compiler.c
b/scripts/asn1_compiler.c
index
7b6756a
..
4c3f645
100644
(file)
--- a/
scripts/asn1_compiler.c
+++ b/
scripts/asn1_compiler.c
@@
-625,7
+625,7
@@
int main(int argc, char **argv)
p = strrchr(argv[1], '/');
p = p ? p + 1 : argv[1];
grammar_name = strdup(p);
- if (!
p
) {
+ if (!
grammar_name
) {
perror(NULL);
exit(1);
}