aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/xkb/ddxLoad.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2009-09-28 11:45:50 +0000
committermarha <marha@users.sourceforge.net>2009-09-28 11:45:50 +0000
commit3a532b45fd32105232275e407c434d15cebeda77 (patch)
treeb35ac8fdea50eee866d7db70763ac46a353bd8e0 /xorg-server/xkb/ddxLoad.c
parente34b0799856ac420d9401366514b2ed0ac20fa2b (diff)
downloadvcxsrv-3a532b45fd32105232275e407c434d15cebeda77.tar.gz
vcxsrv-3a532b45fd32105232275e407c434d15cebeda77.tar.bz2
vcxsrv-3a532b45fd32105232275e407c434d15cebeda77.zip
Make sure the temporary file gets deleted after keyboard compilation.
Diffstat (limited to 'xorg-server/xkb/ddxLoad.c')
-rw-r--r--xorg-server/xkb/ddxLoad.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/xorg-server/xkb/ddxLoad.c b/xorg-server/xkb/ddxLoad.c
index 6954dd150..b098e01e5 100644
--- a/xorg-server/xkb/ddxLoad.c
+++ b/xorg-server/xkb/ddxLoad.c
@@ -269,6 +269,10 @@ XkbDDXCompileKeymapByNames( XkbDescPtr xkb,
}
if (buf != NULL)
xfree (buf);
+#ifdef WIN32
+ /* remove the temporary file */
+ unlink(tmpname);
+#endif
return True;
}
else