small changes

This commit is contained in:
Vítor Santos Costa
2015-08-18 15:08:52 -05:00
parent f41a8c19ef
commit 880a9989c3
12 changed files with 102 additions and 47 deletions

View File

@@ -63,7 +63,7 @@ Yap_ArgListToVector (Term listl, const param_t *def, int n)
arity_t arity = ArityOfFunctor( f );
if (arity != 1) {
LOCAL_Error_TYPE = DOMAIN_ERROR_OUT_OF_RANGE;
LOCAL_Error_Term = hd;
LOCAL_Error_Term = hd;
free( a );
return NULL;
}