projects
/
project
/
libubox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
json_script: remove unneed argument check before calling __json_script_file_free().
[project/libubox.git]
/
json_script.c
diff --git
a/json_script.c
b/json_script.c
index
8e7f526
..
6a17d3b
100644
(file)
--- a/
json_script.c
+++ b/
json_script.c
@@
-592,8
+592,7
@@
static void __json_script_file_free(struct json_script_file *f)
next = f->next;
free(f);
- if (next)
- return __json_script_file_free(next);
+ __json_script_file_free(next);
}
void