From 317837f1a62aff651b9c0125bc13995902868425 Mon Sep 17 00:00:00 2001 From: jsorg71 Date: Thu, 13 Mar 2008 04:06:32 +0000 Subject: fix memory leak --- xrdp/lang.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xrdp') diff --git a/xrdp/lang.c b/xrdp/lang.c index 1c2a674e..e975588f 100644 --- a/xrdp/lang.c +++ b/xrdp/lang.c @@ -1063,7 +1063,7 @@ km_read_section(int fd, const char* section_name, int* keymap) char* value; names = list_create(); - names->auto_free = 0; + names->auto_free = 1; values = list_create(); values->auto_free = 1; if (file_read_section(fd, section_name, names, values) == 0) -- cgit v1.2.1