summaryrefslogtreecommitdiffstats
path: root/libvncserver/main.c
diff options
context:
space:
mode:
authorrunge <runge>2005-05-15 12:38:36 +0000
committerrunge <runge>2005-05-15 12:38:36 +0000
commitbe5b1296e4aa4d8a51cd709853408ec0cd7b768b (patch)
tree44a7f3d9801a53c627436dd4a478a3b8807b6870 /libvncserver/main.c
parent320edc794f0c9e30512524187617ffc8887602ca (diff)
downloadlibtdevnc-be5b1296e4aa4d8a51cd709853408ec0cd7b768b.tar.gz
libtdevnc-be5b1296e4aa4d8a51cd709853408ec0cd7b768b.zip
libvncserver/{main.c,rfbserver.c}: fix a couple more CopyRect memory leaks
Diffstat (limited to 'libvncserver/main.c')
-rw-r--r--libvncserver/main.c1
1 files changed, 1 insertions, 0 deletions
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);
}