Aaron Stone wrote:
Wolfram A. Kraushaar <[EMAIL PROTECTED]> said:


Quoting

http://developer.gnome.org/doc/API/2.0/glib/glib-Doubly-Linked-Lists.html

"if list elements contain dynamically allocated memory they should be freed
first"
(which is done in line 1667)



I thought Glib had a memory pool API, but it doesn't look like it :-\

GLib does have a memorypool which is explicitely used for GLists. It's called GMemChunk.

The sigabrt is caused by the same problem that's causing segfaults on my system under certain circumstances. The fault is strictly mine :-(

I really like writing memory management and data structure stuff, so I'd
be happy to write us a little pool API, or at least be in charge of using
Timo's.

The problem is with the way dbmail-imapsession constructs GLists of to build the imap response strings.

It all comes down to the fact that dbmail-imap code-cleanup is not as finished as would like it to be. It doesn't get rid of the internal mimeparser nor the internal list implementation.


--
  ________________________________________________________________
  Paul Stevens                                         [EMAIL PROTECTED]
  NET FACILITIES GROUP                     GPG/PGP: 1024D/11F8CD31
  The Netherlands_______________________________________www.nfg.nl

Reply via email to