# HG changeset patch # User jeandet # Date 2013-02-25 15:31:38 # Node ID 9392f887614212f1980dcc6de35cb8e6e6206a25 # Parent 27201139c7da9611b32e2e5f9830cd970c13e4a4 Removed error on port enumeration on win32, now the ports are correctly clsed. diff --git a/src/RS232_win.c b/src/RS232_win.c --- a/src/RS232_win.c +++ b/src/RS232_win.c @@ -149,6 +149,7 @@ rs232portslist_t* rs232getportlist() // if(NULL!=previtem)previtem->next = item; previtem = item; if(NULL==firstitem)firstitem = item; + rs232close(devName); } } return firstitem;