From fd8ce33f59f8be0942aa90443085578b937c542b Mon Sep 17 00:00:00 2001 From: ilsimo Date: Sun, 25 Mar 2007 13:42:45 +0000 Subject: adding libscp to xup some fixes for vnc mod --- vnc/Makefile | 1 + vnc/vnc.c | 2 ++ 2 files changed, 3 insertions(+) (limited to 'vnc') 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) { -- cgit v1.2.1