libtt: Resolve coverity warnings

This commit is contained in:
Peter Howkins
2018-04-11 19:31:03 +01:00
parent db88cb0d13
commit 30ad8e35e5
11 changed files with 50 additions and 38 deletions

View File

@@ -248,6 +248,7 @@ realtrees( _Tt_string_list_ptr paths, bool_t follow_symlinks )
strncat( resolved_path_buf,
base, MAXPATHLEN - len );
}
free(dir);
}
} else {
resolved_path = _tt_get_realpath( (char *)path,