Author: cazfi
Date: Sat Dec 20 04:46:32 2014
New Revision: 27358

URL: http://svn.gna.org/viewcvs/freeciv?rev=27358&view=rev
Log:
Added missing free_nls() call to freeciv-ruledit

See patch #5576

Modified:
    trunk/tools/ruledit/ruledit.cpp

Modified: trunk/tools/ruledit/ruledit.cpp
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/tools/ruledit/ruledit.cpp?rev=27358&r1=27357&r2=27358&view=diff
==============================================================================
--- trunk/tools/ruledit/ruledit.cpp     (original)
+++ trunk/tools/ruledit/ruledit.cpp     Sat Dec 20 04:46:32 2014
@@ -53,8 +53,8 @@
   (void) bindtextdomain("freeciv-ruledit", LOCALEDIR);
 #endif
 
+  init_character_encodings(FC_DEFAULT_DATA_ENCODING, FALSE);
   registry_module_init();
-  init_character_encodings(FC_DEFAULT_DATA_ENCODING, FALSE);
 
   log_init(NULL, loglevel, NULL, NULL, -1);
 
@@ -76,8 +76,9 @@
     ruledit_qt_close();
   }
 
+  registry_module_close();
   log_close();
-  registry_module_close();
+  free_nls();
 
   return EXIT_SUCCESS;
 }


_______________________________________________
Freeciv-commits mailing list
Freeciv-commits@gna.org
https://mail.gna.org/listinfo/freeciv-commits

Reply via email to