possible bug in libkmid

Michael Pyne michael.pyne at kdemail.net
Wed Oct 11 22:22:35 BST 2006

On Wednesday 11 October 2006 10:54, Christian Spiel wrote:
> Hi!
> 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
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20061011/2e5668cb/attachment.sig>

More information about the kde-core-devel mailing list