summaryrefslogtreecommitdiffstats
path: root/vnc
diff options
context:
space:
mode:
Diffstat (limited to 'vnc')
-rw-r--r--vnc/Makefile1
-rw-r--r--vnc/vnc.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/vnc/Makefile b/vnc/Makefile
index 7c1ed0a5..a8b9c42a 100644
--- a/vnc/Makefile
+++ b/vnc/Makefile
@@ -37,6 +37,7 @@ install:
installdeb:
install libvnc.so $(DESTDIRDEB)/usr/lib/xrdp/libvnc.so
+#building libscp objects
libscp_v0.o:
$(CC) $(C_OS_FLAGS) ../sesman/libscp_v0.c
diff --git a/vnc/vnc.c b/vnc/vnc.c
index 44d7721e..18691088 100644
--- a/vnc/vnc.c
+++ b/vnc/vnc.c
@@ -976,6 +976,8 @@ lib_mod_connect(struct vnc* v)
{
v->server_msg(v, "error - connecting to sesman", 0);
}
+ g_free(scp_s.username);
+ g_free(scp_s.password);
g_tcp_close(scp_c.in_sck);
if (error != 0 || scp_s.display == 0)
{