Vladimir S. Oka
subirs opined:
[color=blue]
> Hi,
>
> I am using mtrace to check for memory leaks in my code.[/color]
C knows not of `mtrace`...
[color=blue]
> The code is divided into many fucntion which are placed in different
> directories.[/color]
"Show me the money!"
[color=blue]
> While using mtrace the following output is given. Now the problem is
> to find where in the code and in which function memory leaks occurs
> as the trace does not give line number or name of the function.[/color]
"Show me the money!"
<snip meaningless gibberish>
[color=blue]
> Any help will be deeply appreciated,[/color]
If you really are after help, help us help you by providing the actual
code reduced to minimal compilable example that exhibits the problem,
and as much real information as possible.
If you can't be bothered, I'll venture a guess: your problem is on line
42, column 21, of the file zaphod.c, in the directory whatsit on the
Z: drive. Replace 74 with 82, and you're done!
--
"sic transit discus mundi"
(From the System Administrator's Guide, by Lars Wirzenius)
<http://clc-wiki.net/wiki/Introduction_to_comp.lang.c> |