valgrind mac os mem leak

前端 未结 2 1532
野的像风
野的像风 2020-12-09 18:18

Today I installed valgrind on my Mac os x 10.6 and tried to test it out. And it turned out to be weird memory leaks in the system. What I did was just create simple c file t

2条回答
  •  星月不相逢
    2020-12-09 19:09

    You may need to use a valgrind suppressions file for Mac. Looks like some process-wide memory is allocated by not freed when the process exits. Try with valgrind --suppressions=.

提交回复
热议问题