[TD_543] fix coverity scan, cid:267731
This commit is contained in:
parent
5711ef3efd
commit
894ad481f4
|
@ -169,6 +169,7 @@ static void shellSourceFile(TAOS *con, char *fptr) {
|
|||
if (f == NULL) {
|
||||
fprintf(stderr, "ERROR: failed to open file %s\n", fname);
|
||||
wordfree(&full_path);
|
||||
free(cmd);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue