projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
First phase of making SORT CASES stable (PR 12035).
[pspp]
/
src
/
output.c
diff --git
a/src/output.c
b/src/output.c
index e33172e21d39c50e4bb54f309d02beb0a9faa2f2..f318cb86d72bca8f948dab87728c90fc63cf4b0b 100644
(file)
--- a/
src/output.c
+++ b/
src/output.c
@@
-442,12
+442,22
@@
destroy_list (struct outp_driver ** dl)
int
outp_done (void)
{
int
outp_done (void)
{
+ struct outp_driver_class_list *n = outp_class_list ;
#if GLOBAL_DEBUGGING
if (iterating_driver_list)
reentrancy ();
#endif
destroy_list (&outp_driver_list);
#if GLOBAL_DEBUGGING
if (iterating_driver_list)
reentrancy ();
#endif
destroy_list (&outp_driver_list);
+ while (n)
+ {
+ struct outp_driver_class_list *next = n->next;
+ free(n);
+ n = next;
+ }
+ free (outp_title);
+ free (outp_subtitle);
+
return 1;
}
return 1;
}