BugFix Post-MemCheck fix memory leaks corrections

This commit is contained in:
Bruno Herbelin
2024-03-03 20:02:29 +01:00
parent f3f7c57f10
commit 62060e0c04
10 changed files with 56 additions and 13 deletions
+12
View File
@@ -52,3 +52,15 @@ perf record --pid=XXXXX
- Analyse using https://github.com/KDAB/hotspot
Memcheck
--------
To generate memory usage plots in [massif format](https://valgrind.org/docs/manual/ms-manual.html):
G_SLICE=always-malloc valgrind --tool=massif ./vimix
To check for memory leaks:
G_SLICE=always-malloc valgrind --leak-check=full --log-file=vimix_mem.txt ./vimix