This is Webservice SDK for mbed. LPCXpresso1769/LPC1768/FRDM-K64F/LPC4088
Fork of libMiMic by
Revision 65:38049208ea29, committed 2013-11-03
- Comitter:
- nyatla
- Date:
- Sun Nov 03 11:18:49 2013 +0000
- Parent:
- 64:258e84040262
- Child:
- 67:0a24ad966876
- Commit message:
- fix memory leak Net::stop; maybe corrected.
Changed in this revision
mbed/Net.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/mbed/Net.cpp Wed Oct 23 04:49:08 2013 +0000 +++ b/mbed/Net.cpp Sun Nov 03 11:18:49 2013 +0000 @@ -67,6 +67,11 @@ free(this->_mdns); this->_mdns=NULL; } + if(this->_upnp!=NULL){ + NyLPC_cUPnP_finalize(this->_upnp); + free(this->_upnp); + this->_upnp=NULL; + } } } \ No newline at end of file