don't need to check for NULL there
This commit is contained in:
1 parent
f4ae5c883b
commit
7b671b95d2
1 file changed
+2
-6
@@ -331,12 +331,8 @@ int main(int argc, char* argv[]) {
|
||||
}
|
||||
}
|
||||
out:
|
||||
if(input_filenames != NULL){
|
||||
jv_mem_free(input_filenames);
|
||||
}
|
||||
if(jq != NULL){
|
||||
jq_teardown(&jq);
|
||||
}
|
||||
jv_mem_free(input_filenames);
|
||||
jq_teardown(&jq);
|
||||
if (ret >= 10 && ret <= 11 && !(options & EXIT_STATUS))
|
||||
return 0;
|
||||
return ret;
|
||||
|
||||
Reference in new issue
Block a user