summaryrefslogtreecommitdiffstats
path: root/krfb
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-10-22 18:30:36 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-10-22 18:30:36 +0000
commit6a4cb4973e22811ee208576b1a88b9688dd5c7c5 (patch)
tree9885b255196805c120df2b8f9517b62c75faeaa5 /krfb
parentb22d2d2bbd2e89628acf41157eeebfb83a11e21c (diff)
downloadtdenetwork-6a4cb4973e22811ee208576b1a88b9688dd5c7c5.tar.gz
tdenetwork-6a4cb4973e22811ee208576b1a88b9688dd5c7c5.zip
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
Diffstat (limited to 'krfb')
-rw-r--r--krfb/krfb/xupdatescanner.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/krfb/krfb/xupdatescanner.cc b/krfb/krfb/xupdatescanner.cc
index 52519475..0deb136b 100644
--- a/krfb/krfb/xupdatescanner.cc
+++ b/krfb/krfb/xupdatescanner.cc
@@ -198,8 +198,6 @@ XUpdateScanner::~XUpdateScanner()
shmctl(shminfo_tile.shmid, IPC_RMID, 0);
}
else {
- free(tile->data);
- free(scanline->data);
XDestroyImage(scanline);
XDestroyImage(tile);
}