From be5b1296e4aa4d8a51cd709853408ec0cd7b768b Mon Sep 17 00:00:00 2001 From: runge Date: Sun, 15 May 2005 12:38:36 +0000 Subject: libvncserver/{main.c,rfbserver.c}: fix a couple more CopyRect memory leaks --- libvncserver/main.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libvncserver/main.c') diff --git a/libvncserver/main.c b/libvncserver/main.c index 4e59c98..bec7e2f 100644 --- a/libvncserver/main.c +++ b/libvncserver/main.c @@ -164,6 +164,7 @@ void rfbDoCopyRegion(rfbScreenInfoPtr screen,sraRegionPtr copyRegion,int dx,int memmove(out,in,widthInBytes); } } + sraRgnReleaseIterator(i); rfbScheduleCopyRegion(screen,copyRegion,dx,dy); } -- cgit v1.2.3