summaryrefslogtreecommitdiffstats
path: root/vnc
diff options
context:
space:
mode:
authorilsimo <ilsimo>2007-03-25 13:42:45 +0000
committerilsimo <ilsimo>2007-03-25 13:42:45 +0000
commitfd8ce33f59f8be0942aa90443085578b937c542b (patch)
treeff4af82512f32a11dd28c7558c5cfe84c9194029 /vnc
parentb1eface57f4424638402cbde5051670cb8041d92 (diff)
downloadxrdp-proprietary-fd8ce33f59f8be0942aa90443085578b937c542b.tar.gz
xrdp-proprietary-fd8ce33f59f8be0942aa90443085578b937c542b.zip
adding libscp to xup
some fixes for vnc mod
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)
{