summaryrefslogtreecommitdiff
path: root/src/language.c
diff options
context:
space:
mode:
authororoborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-05-30 17:03:33 +0000
committeroroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-05-30 17:03:33 +0000
commit6f8cef248e1467595a932707eb9a9c53af2e8839 (patch)
tree14beaef0e6253ab3657b59a90231d2788806307a /src/language.c
parent13cb3930e9989aba57f0301a821f64ceed29af20 (diff)
- opravene memory leaky pomocou vlagrindu
- sietovy protokol je navrhnuty tal aby client odsiselal info o tom, ze obdrzal spravu git-svn-id: http://opensvn.csie.org/tuxanci_ng@57 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e
Diffstat (limited to 'src/language.c')
-rw-r--r--src/language.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/language.c b/src/language.c
index ee9b18c..d1b20e8 100644
--- a/src/language.c
+++ b/src/language.c
@@ -70,6 +70,8 @@ int initLanguage()
printf("select lang %s\n", lang);
sprintf(path, PATH_LANG "%s.lang", lang);
+
+ destroyTextFile(languageTypeFile);
accessExistFile(path);
languageFile = loadTextFile(path);