Skip to content
Snippets Groups Projects
Commit 600d4a77 authored by Enrico Tröger's avatar Enrico Tröger
Browse files

Fix crash due to accessing invalid memory when reading the config file (patch...

Fix crash due to accessing invalid memory when reading the config file (patch by Federico G. Schwindt, thanks).


(Old svn revision: 4807)
parent e31d096e
No related branches found
No related tags found
No related merge requests found
2008-05-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* Fix crash due to accessing invalid memory when reading the
config file (patch by Federico G. Schwindt, thanks).
2008-05-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de> 2008-05-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* New release: 0.4.0. * New release: 0.4.0.
......
...@@ -308,8 +308,6 @@ void dict_read_rc_file(DictData *dd) ...@@ -308,8 +308,6 @@ void dict_read_rc_file(DictData *dd)
geo = xfce_rc_read_entry(rc, "geometry", geo); geo = xfce_rc_read_entry(rc, "geometry", geo);
parse_geometry(dd, geo); parse_geometry(dd, geo);
xfce_rc_close(rc);
} }
dd->mode_default = mode_default; dd->mode_default = mode_default;
...@@ -326,6 +324,8 @@ void dict_read_rc_file(DictData *dd) ...@@ -326,6 +324,8 @@ void dict_read_rc_file(DictData *dd)
dd->dictionary = g_strdup(dict); dd->dictionary = g_strdup(dict);
dd->spell_bin = g_strdup(spell_bin); dd->spell_bin = g_strdup(spell_bin);
dd->spell_dictionary = g_strdup(spell_dictionary); dd->spell_dictionary = g_strdup(spell_dictionary);
xfce_rc_close(rc);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment