diff options
Diffstat (limited to 'x11vnc/xinerama.c')
-rw-r--r-- | x11vnc/xinerama.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/x11vnc/xinerama.c b/x11vnc/xinerama.c index 975298b..229816f 100644 --- a/x11vnc/xinerama.c +++ b/x11vnc/xinerama.c @@ -213,8 +213,8 @@ static void blackout_tiles(void) { break; } } - sraRgnReleaseIterator(iter); + sraRgnDestroy(black_reg); sraRgnDestroy(tile_reg); @@ -322,6 +322,7 @@ static void initialize_xinerama (void) { sprintf(tstr, "%dx%d+%d+%d,", w, h, x, y); strcat(bstr, tstr); } + sraRgnReleaseIterator(iter); initialize_blackouts(bstr); free(bstr); |