|
-
Jan 17th, 2003, 12:34 AM
#1
Thread Starter
Member
Memory Leak ... spoiling my life
Hi all,
How do i find memory leaks in the code.....
.strange.........with out an exe......
ya ..... i mean it....
i have a code..... and am unable to make an exe ....
due to many problems..... still ... i wann to find memory leaks
in my code.....if any..???
tia
Kittu
-
Jan 17th, 2003, 05:32 AM
#2
Study the code carefully. Look for mallocs not matched by frees and news not matched by deletes. Look for calls to the function strdup, it allocates memory.
But why do you care about that now? Better get your code to compile.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|