Re: Thread causing memory leaks...

2005-08-22 Thread Jean-Philippe Andriot
Hi You should use "pthread_exit" instead of "return NULL" JP Mehmet Tek wrote: Hi all, After debugging for a number of hours, I found out that the very basics of my thread usage is causing memory leaks. (I checked it with mtrace and valgrind, they both say that there is memory leak.) I

Thread causing memory leaks...

2005-08-19 Thread Mehmet Tek
Hi all, After debugging for a number of hours, I found out that the very basics of my thread usage is causing memory leaks. (I checked it with mtrace and valgrind, they both say that there is memory leak.) I have a very simple program below that leaks memory. Can anyone tell me if I am doing