Commit f6456486 authored by Morten Welinder's avatar Morten Welinder

stf: don't leak saver.

parent f387d30c
2011-02-17 Morten Welinder <terra@gnome.org>
* src/stf.c (stf_shutdown): Unregister stf_csv too.
2011-02-16 Morten Welinder <terra@gnome.org>
* src/gnumeric.h (GnmExprEvalFlags): Add new want-ref flag.
......
......@@ -612,6 +612,8 @@ stf_shutdown (void)
{
go_file_saver_unregister
(go_file_saver_for_id ("Gnumeric_stf:stf_assistant"));
go_file_saver_unregister
(go_file_saver_for_id ("Gnumeric_stf:stf_csv"));
go_file_opener_unregister
(go_file_opener_for_id ("Gnumeric_stf:stf_csvtab"));
......
......@@ -1551,6 +1551,5 @@ gnm_xml_sax_write_init (void)
void
gnm_xml_sax_write_shutdown (void)
{
go_file_saver_unregister
(go_file_saver_for_id (XML_SAX_ID));
go_file_saver_unregister (go_file_saver_for_id (XML_SAX_ID));
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment