gregkrsak / gregkrsak/gcode

"filename" memory should be freed on exit/failure

Open
#1 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
C
Stars
9
Forks
3
PR merge metrics
No merged PRs in 30d

Description

```OpenDataFiles()``` uses a ```filename``` variable to construct filenames, and this variable is initialized with a ```malloc(...)``` call. However, it is not freed when the function exits on failure.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.