Rule #1 when working with global pointers: When deleting a non-local buffer, make sure to set the pointer to 0, otherwise the crash later will give you some headache for sure...
Rule #1 when working with global pointers: When deleting a non-local buffer, make sure to set the pointer to 0, otherwise the crash later will give you some headache for sure...

Since I don't have a pthreads build, I can't check the HAVE_PTHREAD part, but in the non-threaded case this works fine now, and you can call icalmemory_free_ring to make libical free all its temporary memory. Whenever it needs memory again, it will simply reallocate the ring buffer (but only as much memory as is needed!).

CCMAIL:libical@softwarestudio.org


svn path=/branches/KDE/3.5/kdepim/; revision=469932

lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi