don't need to check for NULL there

This commit is contained in:
David R. MacIver committed 2013-12-08 23:52:07 +00:00
1 parent f4ae5c883b
commit 7b671b95d2
1 file changed
+2 -6
+2 -6
View File
@@ -331,12 +331,8 @@ int main(int argc, char* argv[]) {
} }
} }
out: out:
if(input_filenames != NULL){ jv_mem_free(input_filenames);
jv_mem_free(input_filenames); jq_teardown(&jq);
}
if(jq != NULL){
jq_teardown(&jq);
}
if (ret >= 10 && ret <= 11 && !(options & EXIT_STATUS)) if (ret >= 10 && ret <= 11 && !(options & EXIT_STATUS))
return 0; return 0;
return ret; return ret;