1
0
Fork 0

Some more cleanups and memleak fixes.

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4265
This commit is contained in:
Peter Veenstra 2019-10-01 13:05:08 +00:00
parent a919e33aec
commit 6243fa9711
3 changed files with 3 additions and 6 deletions

View file

@ -289,6 +289,7 @@ bool SERIAL_open(const char* portname, COMPORT* port) {
size_t len = strlen(portname);
if(len > 240) {
free(cp);
///////////////////////////////////SetLastError(ERROR_BUFFER_OVERFLOW);
return false;
}