Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
L
libvncserver
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
rasky
libvncserver
Commits
2fbf23c1
Commit
2fbf23c1
authored
Jan 30, 2004
by
dscho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
memory leaks fixed
parent
e0cbabec
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
0 deletions
+12
-0
ChangeLog
ChangeLog
+4
-0
rfbserver.c
rfbserver.c
+8
-0
No files found.
ChangeLog
View file @
2fbf23c1
2004-01-30 Johannes E. Schindelin <Johannes.Schindelin@gmx.de>
* Thanks to Paul Fox from Bright Star Engineering,
a few more memory leaks were fixed.
2004-01-29 Johannes E. Schindelin <Johannes.Schindelin@gmx.de>
* Honour the check for libz and libjpeg again.
...
...
rfbserver.c
View file @
2fbf23c1
...
...
@@ -1213,6 +1213,7 @@ rfbSendFramebufferUpdate(cl, givenUpdateRegion)
int
h
=
rect
.
y2
-
y
;
nUpdateRegionRects
+=
(((
h
-
1
)
/
(
ZLIB_MAX_SIZE
(
w
)
/
w
))
+
1
);
}
sraRgnReleaseIterator
(
i
);
#ifdef LIBVNCSERVER_HAVE_LIBJPEG
}
else
if
(
cl
->
preferredEncoding
==
rfbEncodingTight
)
{
nUpdateRegionRects
=
0
;
...
...
@@ -1296,24 +1297,28 @@ rfbSendFramebufferUpdate(cl, givenUpdateRegion)
case
rfbEncodingRaw
:
if
(
!
rfbSendRectEncodingRaw
(
cl
,
x
,
y
,
w
,
h
))
{
sraRgnDestroy
(
updateRegion
);
sraRgnReleaseIterator
(
i
);
return
FALSE
;
}
break
;
case
rfbEncodingRRE
:
if
(
!
rfbSendRectEncodingRRE
(
cl
,
x
,
y
,
w
,
h
))
{
sraRgnDestroy
(
updateRegion
);
sraRgnReleaseIterator
(
i
);
return
FALSE
;
}
break
;
case
rfbEncodingCoRRE
:
if
(
!
rfbSendRectEncodingCoRRE
(
cl
,
x
,
y
,
w
,
h
))
{
sraRgnDestroy
(
updateRegion
);
sraRgnReleaseIterator
(
i
);
return
FALSE
;
}
break
;
case
rfbEncodingHextile
:
if
(
!
rfbSendRectEncodingHextile
(
cl
,
x
,
y
,
w
,
h
))
{
sraRgnDestroy
(
updateRegion
);
sraRgnReleaseIterator
(
i
);
return
FALSE
;
}
break
;
...
...
@@ -1321,6 +1326,7 @@ rfbSendFramebufferUpdate(cl, givenUpdateRegion)
case
rfbEncodingZlib
:
if
(
!
rfbSendRectEncodingZlib
(
cl
,
x
,
y
,
w
,
h
))
{
sraRgnDestroy
(
updateRegion
);
sraRgnReleaseIterator
(
i
);
return
FALSE
;
}
break
;
...
...
@@ -1328,6 +1334,7 @@ rfbSendFramebufferUpdate(cl, givenUpdateRegion)
case
rfbEncodingTight
:
if
(
!
rfbSendRectEncodingTight
(
cl
,
x
,
y
,
w
,
h
))
{
sraRgnDestroy
(
updateRegion
);
sraRgnReleaseIterator
(
i
);
return
FALSE
;
}
break
;
...
...
@@ -1337,6 +1344,7 @@ rfbSendFramebufferUpdate(cl, givenUpdateRegion)
case
rfbEncodingZRLE
:
if
(
!
rfbSendRectEncodingZRLE
(
cl
,
x
,
y
,
w
,
h
))
{
sraRgnDestroy
(
updateRegion
);
sraRgnReleaseIterator
(
i
);
return
FALSE
;
}
break
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment