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

@@ -591,8 +591,7 @@ _amstart(isfhandle, record, reclen, readmode,
_amseterrcode(errcode, ISOK);
/* Clean-up work. */
if (newcrp != NULL)
free(newcrp);
free(newcrp);
_isdisk_commit(); /* This will only check
* that we unfixed all fixed