summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--x11vnc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/x11vnc.c b/x11vnc.c
index 3a423b0..bfb6870 100644
--- a/x11vnc.c
+++ b/x11vnc.c
@@ -244,7 +244,7 @@ int main(int argc,char** argv)
} else if(screen->rfbClientHead && c++>updateCounter) {
c=0;
//fprintf(stderr,"*");
- //if(!useSHM)
+ if(!useSHM)
framebufferImage->f.destroy_image(framebufferImage);
getImage(screen->rfbServerFormat.bitsPerPixel,dpy,xscreen,&framebufferImage);
checkForImageUpdates(screen,framebufferImage->data);