consistency. (DLR)
- Rename NANO_ALT_.* and NANO_.*ALTKEY to NANO_META_.* and
NANO_.*METAKEY, for consistency. (DLR)
+- text.c:
+ do_verbatim_input()
+ - Fix minor memory leak. (DLR)
- winio.c:
parse_kbinput()
- Add missing break. (DLR)
+ - Fix minor memory leak. (Itay Perl)
+ parse_verbatim_kbinput()
+ - Fix minor memory leak. (DLR)
edit_draw()
- Fix potential warnings when assigning -1 to paintlen by using
if/else clauses instead of "?" operators. (DLR)
output[i] = (char)kbinput[i];
output[i] = '\0';
+ free(kbinput);
+
do_output(output, kbinput_len, TRUE);
free(output);
fprintf(stderr, "parse_kbinput(): kbinput = %d, meta_key = %s, func_key = %s, escapes = %d, byte_digits = %d, retval = %d\n", *kbinput, *meta_key ? "TRUE" : "FALSE", *func_key ? "TRUE" : "FALSE", escapes, byte_digits, retval);
#endif
+ free(kbinput);
+
/* Return the result. */
return retval;
}
/* Put back the first keystroke. */
unget_input(kbinput, 1);
+ free(kbinput);
+
/* Get the complete sequence, and save the characters in it as the
* result. */
*kbinput_len = get_key_buffer_len();