Hi everyone,

I am new to valgrind and tried to find an answer in the valgrind forum
search; apologies if this was asked before.

My code written in C was giving memory allocation problems so that I
started using valgrind to track my memory.
Specifically, to be sure of what was going on I first commented all
lines except for those of declaration (how can I send lines of code to
this mailing list).
Although I am not explicitly allocating any memory (not with malloc,
calloc, or other mean), I obtain this:

malloc/free: 9 allocs, 0 frees

9 changes and increases by uncommenting the following lines one by one.

Can anyone help me understand where this leak is occurring?

Thank you in advance,
Best

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to