projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Unlimited the number of variables that the GUI can cope with.
[pspp-builds.git]
/
src
/
math
/
sort.c
diff --git
a/src/math/sort.c
b/src/math/sort.c
index 1d2257b246ded9d0f33f1aa3d42ad5ea40592ef5..01e955334c9480cccc47f385519367d490e41d5e 100644
(file)
--- a/
src/math/sort.c
+++ b/
src/math/sort.c
@@
-62,8
+62,6
@@
static void
prepare_to_sort_active_file (void)
{
proc_cancel_temporary_transformations ();
prepare_to_sort_active_file (void)
{
proc_cancel_temporary_transformations ();
- expr_free (process_if_expr);
- process_if_expr = NULL;
}
/* Sorts the active file in-place according to CRITERIA.
}
/* Sorts the active file in-place according to CRITERIA.
@@
-114,8
+112,11
@@
sort_active_file_to_casefile (const struct sort_criteria *criteria)
cb_data.criteria = criteria;
cb_data.output = NULL;
cb_data.criteria = criteria;
cb_data.output = NULL;
- multipass_procedure (sort_to_casefile_callback, &cb_data);
-
+ if (!multipass_procedure (sort_to_casefile_callback, &cb_data))
+ {
+ casefile_destroy (cb_data.output);
+ return NULL;
+ }
return cb_data.output;
}
return cb_data.output;
}