Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add make memcheck tip for the HELP.md file. #921

Closed
glennj opened this issue Oct 31, 2023 · 1 comment · Fixed by #923
Closed

Add make memcheck tip for the HELP.md file. #921

glennj opened this issue Oct 31, 2023 · 1 comment · Fixed by #923

Comments

@glennj
Copy link
Contributor

glennj commented Oct 31, 2023

I recently finished linked-list, my first exercise with malloc and free, and I was looking for instructions about how to check for leaked memory. I ended up on the track docs testing page which is kind of out of the way.

Are maintainers open to a PR for adding some words about make memcheck to exercises/shared/.docs/tests.md (so that it gets included in the HELP.md file that is downloaded)?

Perhaps something like

To check for memory leaks (allocated memory that is not freed), run:

```console
$ make memcheck
```
@ryanplusplus
Copy link
Member

I think it's a good idea

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants