From 6a4cb4973e22811ee208576b1a88b9688dd5c7c5 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 22 Oct 2011 18:30:36 +0000 Subject: 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 --- krfb/krfb/xupdatescanner.cc | 2 -- 1 file changed, 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); } -- cgit v1.2.1