| Previous | 199869 Revisions | Next |
| r44564 Friday 29th January, 2016 at 09:20:39 UTC by Barry Rodewald |
|---|
| SDL: if binding, listening or connecting to a socket fails, then close the socket handle. |
| [src/osd/sdl] | sdlfile.cpp |
| r253075 | r253076 | |
|---|---|---|
| 134 | 134 | { |
| 135 | 135 | (*file)->type = SDLFILE_SOCKET; |
| 136 | 136 | filerr = sdl_open_socket(path, openflags, file, filesize); |
| 137 | if(filerr != FILERR_NONE && (*file)->socket != -1) | |
| 138 | close((*file)->socket); | |
| 137 | 139 | goto error; |
| 138 | 140 | } |
| 139 | 141 |
| https://github.com/mamedev/mame/commit/e0da1a72887864ee7fbc9914c54216fb28646d56 |
| Previous | 199869 Revisions | Next |