Skip to content

Commit

Permalink
Add missing free for tape signature in freeTapeResources
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrianSchmidt1 authored Nov 22, 2024
1 parent c5da3ee commit 88ee584
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ADOL-C/src/taping.c
Original file line number Diff line number Diff line change
Expand Up @@ -1344,6 +1344,10 @@ void freeTapeResources(TapeInfos *tapeInfos) {
fclose(tapeInfos->tay_file);
tapeInfos->tay_file = NULL;
}
if (tapeInfos->signature != NULL) {
free(tapeInfos->signature);
tapeInfos->signature = NULL;

Check warning on line 1349 in ADOL-C/src/taping.c

View check run for this annotation

Codecov / codecov/patch

ADOL-C/src/taping.c#L1348-L1349

Added lines #L1348 - L1349 were not covered by tests
}
}

/****************************************************************************/
Expand Down

0 comments on commit 88ee584

Please sign in to comment.