Remove double free on select_cb (bug #51990)

This was left over after the refactoring in 92b6f83eb2
This commit is contained in:
Joel Cunningham 2017-09-13 16:51:03 -05:00
parent 7ba479e482
commit 5c0054d8ee

View File

@ -2043,7 +2043,6 @@ lwip_select(int maxfdp1, fd_set *readset, fd_set *writeset, fd_set *exceptset,
if (nready < 0) {
/* This happens when a socket got closed while waiting */
lwip_select_dec_sockets_used(maxfdp1, &used_sockets);
API_SELECT_CB_VAR_FREE(select_cb);
return -1;
}