possible bug in libkmid
michael.pyne at kdemail.net
Wed Oct 11 22:22:35 BST 2006
On Wednesday 11 October 2006 10:54, Christian Spiel wrote:
> I was looking through the source code of libkmid when I came across a
> possible wrong new/delete pair in the file voiceman.cc. VoiceList is an
> array, so it should be deleted via delete . I changed this and also
> removed the check against NULL as it is not necessary IMHO.
I've confirmed the bug and applied the patch, thanks.
I didn't see any open bugs that were obviously caused by this, but I'm not
sure this kind of bug would be easily diagnosed by the bt anyways, so I'm not
sure if this fixes any reported bugs.
I'm kinda surprised that the Coverity scan didn't catch this. :)
- Michael Pyne
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 191 bytes
Desc: not available
More information about the kde-core-devel