esp8266: Initialize socket->connlist to NULL

This was causing crashes in .onconnect()
upip-bootstrap
Josef Gajdusek 2015-05-05 23:48:21 +02:00 committed by Damien George
parent 57ebe1b27d
commit 2d56df67cd
1 changed files with 1 additions and 0 deletions

View File

@ -70,6 +70,7 @@ STATIC mp_obj_t esp_socket_make_new_base() {
s->cb_recv = mp_const_none;
s->cb_disconnect = mp_const_none;
s->fromserver = false;
s->connlist = NULL;
return s;
}