Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/neutrinolabs/xrdp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/vnc
diff options
context:
space:
mode:
authormatt335672 <30179339+matt335672@users.noreply.github.com>2021-10-21 17:24:39 +0300
committermatt335672 <30179339+matt335672@users.noreply.github.com>2021-10-21 17:24:39 +0300
commit15b7f18edeab2893c7c2f2905fbf646861c0ca6d (patch)
tree54e84a7f1ed84156006adcf0c393da0d442485b8 /vnc
parent0c605a3cc488a5ebe977dabf5d7e932a0d080696 (diff)
Minor memory leaks found with valgrind
Diffstat (limited to 'vnc')
-rw-r--r--vnc/vnc_clip.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/vnc/vnc_clip.c b/vnc/vnc_clip.c
index 1cfb1d06..ebbfae36 100644
--- a/vnc/vnc_clip.c
+++ b/vnc/vnc_clip.c
@@ -1107,6 +1107,7 @@ vnc_clip_open_clip_channel(struct vnc *v)
s_mark_end(s);
send_stream_to_clip_channel(v, s);
+ free_stream(s);
/* Need to complete the startup handshake before we send formats */
v->vc->startup_complete = 1;
}