Fix krfb SIGABRT when graphics driver lacks shared memory support.

This closes Bug 422.

Thanks to Debian for the patch!



git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1260223 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru
tpearson 13 years ago
parent b22d2d2bbd
commit 6a4cb4973e

@ -198,8 +198,6 @@ XUpdateScanner::~XUpdateScanner()
shmctl(shminfo_tile.shmid, IPC_RMID, 0);
}
else {
free(tile->data);
free(scanline->data);
XDestroyImage(scanline);
XDestroyImage(tile);
}

Loading…
Cancel
Save