[Kde-games-devel] KPoker patch
Albert 'TSDgeos' Astals Cid
tsdgeos at terra.es
Thu Jul 10 20:11:42 CEST 2003
That patch solves that bug 59433 http://bugs.kde.org/show_bug.cgi?id=59443
Also solves a memory related problem, to see it appear open kpoker and do
Ctrl+n (new game) and start a game, repeat it and you'll see kpoker die in
three or four attempts, this is due to an erroneus delete[] (found thanks of
valgrind) in the player destructor, it was freeing a static [] as many times
as objects of that class there were.
Also removes some lines of not used code.
And finally 'thanks' to kwrite the diff has lots of +/- with the same lines
added and removed.
The patch comes attached.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kpoker.diff
Type: text/x-diff
Size: 11940 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-games-devel/attachments/20030710/8e596884/kpoker.bin
More information about the kde-games-devel
mailing list