PDA

View Full Version : mlDIQueueDestroy() always frees



jarno
03-18-2005, 02:54 PM
Is there an official bug reporting mechanism?

In mlDIQueueDestroy() the memory for the queue is always freed. According to the spec it should only be freed if no pre-allocated space was passed to mlDIQueueCreate().

---JvdL---

fjaubert
03-21-2005, 05:42 PM
Indeed, this is (another) bug. Note however that the di/dd interface is not actually part of the ML spec -- it is part of the reference implementation, for which the API is not set in stone the way the ML public API is. So in this case... perhaps we should consider the man pages are in error.

I'll make a note of it however, and add it to the list of things to fix/improve for the next release.