hi friends,
i have developed a project in c . but there seems to be some memory leaks.
i s there any command in unix where i can check the memory leak.
i have used a cc compiler in unix.
thanks friends
hi friends,
i have developed a project in c . but there seems to be some memory leaks.
i s there any command in unix where i can check the memory leak.
i have used a cc compiler in unix.
thanks friends
Maybe you need to track where you malloc()'d and free()'d your memory. You'll probably find a descrepancy in the number of calls to each function. Remember, their should be a one-to-one relationship.
When all else fails, read the instructions.
If you're posting code, use code tags: [code] /* insert code here */ [/code]