allocation

This commit is contained in:
Vitor Santos Costa 2016-12-16 03:39:12 -06:00
parent 66bc426b09
commit cd18a69561

View File

@ -221,7 +221,6 @@ X_API int PL_get_nchars(term_t l, size_t *lengthp, char **s, unsigned flags) {
out.type |= YAP_STRING_NCHARS;
out.max = *lengthp;
}
const char *buf;
if (!Yap_CVT_Text(&inp, &out PASS_REGS)) {
pop_text_stack(lvl);
return false;