Skip to content

Commit

Permalink
fix: fclose.
Browse files Browse the repository at this point in the history
  • Loading branch information
b4rtaz committed May 28, 2024
1 parent 36a6a7f commit b2233a1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/transformer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,7 @@ TransformerSpec Transformer::loadSpecFromFile(const char* path, const unsigned i
printf("💡 ropeTheta: %.1f\n", spec.ropeTheta);

spec.fileSize = (size_t)seekToEnd(fd);
fclose(fd);
return spec;
}

Expand Down

0 comments on commit b2233a1

Please sign in to comment.