search for: 747510

Displaying 1 result from an estimated 1 matches for "747510".

Did you mean: 47510
2012 Oct 11
1
memory allocation in new thread
Hi! I have some problems with memory allocation. I create new thread in cidir storage and call malloc(), and it fails to allocate even 1 byte. What can cause this problem? Dovecot vesrion is: 2.1.10 (130563b592c9+) Sample code looks like this (I also link to pthread with: -pthread): #define TEST_MALLOC() \ { \ ??? void *p; \ ??? p = malloc(1); \ ??? if (!p) { \ ??? ??? i_info("%s: