summaryrefslogtreecommitdiffstats
path: root/libdimension/finish_combination.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdimension/finish_combination.c')
-rw-r--r--libdimension/finish_combination.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libdimension/finish_combination.c b/libdimension/finish_combination.c
index 4cc0c9e..472dc23 100644
--- a/libdimension/finish_combination.c
+++ b/libdimension/finish_combination.c
@@ -19,6 +19,7 @@
*************************************************************************/
#include "dimension.h"
+#include <errno.h>
#include <stdlib.h> /* For malloc */
#include <math.h>
@@ -126,6 +127,7 @@ dmnsn_new_finish_combination(dmnsn_finish *f1, dmnsn_finish *f2)
dmnsn_delete_finish(finish);
dmnsn_delete_finish(f2);
dmnsn_delete_finish(f1);
+ errno = ENOMEM;
return NULL;
}