projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
psppire-dictview: New function psppire_dict_view_get_selected_variables().
[pspp]
/
src
/
output
/
odt.c
diff --git
a/src/output/odt.c
b/src/output/odt.c
index fdaa6f902de642efbd7a438a745e67feb21e56f2..a02506c1e9eeacbae9528aa663e55044e8194055 100644
(file)
--- a/
src/output/odt.c
+++ b/
src/output/odt.c
@@
-1,5
+1,5
@@
/* PSPP - a program for statistical analysis.
/* PSPP - a program for statistical analysis.
- Copyright (C) 2009, 2010, 2011 Free Software Foundation, Inc.
+ Copyright (C) 2009, 2010, 2011
, 2012
Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@
-380,6
+380,7
@@
odt_destroy (struct output_driver *driver)
zip_writer_close (odt->zip);
}
zip_writer_close (odt->zip);
}
+ free (odt->file_name);
free (odt->command_name);
free (odt);
}
free (odt->command_name);
free (odt);
}
@@
-516,7
+517,8
@@
odt_submit (struct output_driver *driver,
}
}
}
}
-struct output_driver_factory odt_driver_factory = { "odt", odt_create };
+struct output_driver_factory odt_driver_factory =
+ { "odt", "pspp.odf", odt_create };
static const struct output_driver_class odt_driver_class =
{
static const struct output_driver_class odt_driver_class =
{