apply addendum patch by mjkoo

This commit is contained in:
Maxwell J. Koo 2010-12-21 14:44:52 +00:00 committed by rdb
parent 7f9b94df54
commit f41f3277eb
1 changed files with 5 additions and 0 deletions

View File

@ -107,6 +107,11 @@ x11GraphicsWindow(GraphicsEngine *engine, GraphicsPipe *pipe,
////////////////////////////////////////////////////////////////////
x11GraphicsWindow::
~x11GraphicsWindow() {
pmap<Filename, Cursor>::iterator it;
for (it = _cursor_filenames.begin(); it != _cursor_filenames.end(); it++) {
XFreeCursor(_display, it->second);
}
}
////////////////////////////////////////////////////////////////////