From: Laszlo T. <ave...@us...> - 2006-06-30 10:00:53
|
Update of /cvsroot/gemrb/gemrb/gemrb/plugins/Core In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv2975 Modified Files: TextArea.cpp Log Message: fixed a leak when portraits appear on a TextScreen Index: TextArea.cpp =================================================================== RCS file: /cvsroot/gemrb/gemrb/gemrb/plugins/Core/TextArea.cpp,v retrieving revision 1.88 retrieving revision 1.89 diff -C2 -d -r1.88 -r1.89 *** TextArea.cpp 16 Apr 2006 23:57:02 -0000 1.88 --- TextArea.cpp 30 Jun 2006 10:00:50 -0000 1.89 *************** *** 68,71 **** --- 68,75 ---- free( lines[i] ); } + if (AnimPicture) { + core->GetVideoDriver()->FreeSprite(AnimPicture); + SetAnimPicture(NULL); + } } |