cu-ecen-aeld / assignment-autotest

Auto test code for assignments, using the Unity automated test framework
MIT License
3 stars 20 forks source link

Fix a memory leak in the Assignment 1 test code #33

Closed bennowotny closed 1 month ago

bennowotny commented 1 month ago

This commit fixes a memory leak by closing the conf/username.txt file after use and letting getline allocate its own memory for reading the file.