possible bug in libkmid

Christian Spiel e9800675 at stud4.tuwien.ac.at
Wed Oct 11 15:54:19 BST 2006


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.

Regards

Christian Spiel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: patchforlibkmid.diff
Type: text/x-diff
Size: 369 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20061011/1fc36c45/attachment.diff>


More information about the kde-core-devel mailing list