summaryrefslogtreecommitdiffstats
path: root/xrdp
diff options
context:
space:
mode:
authorjsorg71 <jsorg71>2008-03-13 04:06:32 +0000
committerjsorg71 <jsorg71>2008-03-13 04:06:32 +0000
commit317837f1a62aff651b9c0125bc13995902868425 (patch)
tree61a89d677b67a67a9549a9a89841d91fd923ad92 /xrdp
parent0238af7191d2dfd7fad105f75a64b8c71b98b388 (diff)
downloadxrdp-proprietary-317837f1a62aff651b9c0125bc13995902868425.tar.gz
xrdp-proprietary-317837f1a62aff651b9c0125bc13995902868425.zip
fix memory leak
Diffstat (limited to 'xrdp')
-rw-r--r--xrdp/lang.c2
1 files changed, 1 insertions, 1 deletions
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)