unix/modsocket: Fix usage of pointers to locals outside scope
unix/modsocket: Fix usage of pointers to locals outside scope

ernesto-g/micropython,infinnovation/micropython,trezor/micropython,adafruit/circuitpython,MrSurly/micropython,EcmaXp/micropython,noahwilliamsson/micropython,adafruit/micropython,oopy/micropython,deshipu/micropython,cloudformdesign/micropython,cloudformdesign/micropython,SHA2017-badge/micropython-esp32,kerneltask/micropython,henriknelson/micropython,Timmenem/micropython,Timmenem/micropython,pozetroninc/micropython,cloudformdesign/micropython,torwag/micropython,adafruit/circuitpython,PappaPeppar/micropython,pfalcon/micropython,adamkh/micropython,chrisdearman/micropython,adafruit/circuitpython,torwag/micropython,puuu/micropython,ernesto-g/micropython,dmazzella/micropython,tralamazza/micropython,SHA2017-badge/micropython-esp32,micropython/micropython-esp32,trezor/micropython,misterdanb/micropython,neilh10/micropython,selste/micropython,turbinenreiter/micropython,mianos/micropython,pfalcon/micropython,jmarcelino/pycom-micropython,alex-robbins/micropython,hiway/micropython,adamkh/micropython,adafruit/circuitpython,praemdonck/micropython,galenhz/micropython,vitiral/micropython,hiway/micropython,mpalomer/micropython,oopy/micropython,mianos/micropython,tobbad/micropython,pozetroninc/micropython,Timmenem/micropython,dhylands/micropython,pozetroninc/micropython,dhylands/micropython,xhat/micropython,martinribelotta/micropython,ernesto-g/micropython,ganshun666/micropython,cwyark/micropython,jmarcelino/pycom-micropython,redbear/micropython,MrSurly/micropython,AriZuu/micropython,matthewelse/micropython,lowRISC/micropython,turbinenreiter/micropython,drrk/micropython,mianos/micropython,infinnovation/micropython,ruffy91/micropython,pozetroninc/micropython,martinribelotta/micropython,misterdanb/micropython,pozetroninc/micropython,puuu/micropython,martinribelotta/micropython,danicampora/micropython,blazewicz/micropython,tobbad/micropython,drrk/micropython,dinau/micropython,noahwilliamsson/micropython,ryannathans/micropython,puuu/micropython,vitiral/micropython,MrSurly/micropython-esp32,MrSurly/micropython,pramasoul/micropython,dmazzella/micropython,cwyark/micropython,tralamazza/micropython,pfalcon/micropython,tuc-osg/micropython,hosaka/micropython,ganshun666/micropython,PappaPeppar/micropython,HenrikSolver/micropython,EcmaXp/micropython,AriZuu/micropython,blmorris/micropython,drrk/micropython,alex-march/micropython,ryannathans/micropython,AriZuu/micropython,dinau/micropython,redbear/micropython,xhat/micropython,adamkh/micropython,jmarcelino/pycom-micropython,ganshun666/micropython,mpalomer/micropython,alex-robbins/micropython,chrisdearman/micropython,omtinez/micropython,ryannathans/micropython,hiway/micropython,praemdonck/micropython,omtinez/micropython,HenrikSolver/micropython,ryannathans/micropython,alex-march/micropython,blmorris/micropython,supergis/micropython,drrk/micropython,selste/micropython,dmazzella/micropython,tralamazza/micropython,blazewicz/micropython,TDAbboud/micropython,bvernoux/micropython,danicampora/micropython,ChuckM/micropython,toolmacher/micropython,EcmaXp/micropython,ganshun666/micropython,dhylands/micropython,noahwilliamsson/micropython,cwyark/micropython,cloudformdesign/micropython,TDAbboud/micropython,infinnovation/micropython,mhoffma/micropython,misterdanb/micropython,galenhz/micropython,MrSurly/micropython,deshipu/micropython,danicampora/micropython,PappaPeppar/micropython,EcmaXp/micropython,Peetz0r/micropython-esp32,blazewicz/micropython,tuc-osg/micropython,ruffy91/micropython,mianos/micropython,cloudformdesign/micropython,pramasoul/micropython,Peetz0r/micropython-esp32,micropython/micropython-esp32,ChuckM/micropython,hosaka/micropython,blmorris/micropython,Peetz0r/micropython-esp32,chrisdearman/micropython,blmorris/micropython,SHA2017-badge/micropython-esp32,redbear/micropython,adafruit/micropython,galenhz/micropython,HenrikSolver/micropython,drrk/micropython,praemdonck/micropython,hosaka/micropython,puuu/micropython,tobbad/micropython,MrSurly/micropython-esp32,chrisdearman/micropython,pfalcon/micropython,lowRISC/micropython,alex-march/micropython,ryannathans/micropython,pfalcon/micropython,blazewicz/micropython,mhoffma/micropython,dinau/micropython,swegener/micropython,vitiral/micropython,redbear/micropython,MrSurly/micropython-esp32,PappaPeppar/micropython,TDAbboud/micropython,mhoffma/micropython,ruffy91/micropython,jmarcelino/pycom-micropython,misterdanb/micropython,HenrikSolver/micropython,emfcamp/micropython,redbear/micropython,galenhz/micropython,noahwilliamsson/micropython,oopy/micropython,vitiral/micropython,praemdonck/micropython,tuc-osg/micropython,omtinez/micropython,swegener/micropython,adamkh/micropython,supergis/micropython,dinau/micropython,kerneltask/micropython,blazewicz/micropython,toolmacher/micropython,dxxb/micropython,Peetz0r/micropython-esp32,mpalomer/micropython,hiway/micropython,AriZuu/micropython,Peetz0r/micropython-esp32,bvernoux/micropython,TDAbboud/micropython,mhoffma/micropython,ernesto-g/micropython,vitiral/micropython,jmarcelino/pycom-micropython,adafruit/micropython,matthewelse/micropython,dhylands/micropython,adafruit/micropython,dxxb/micropython,martinribelotta/micropython,kerneltask/micropython,mhoffma/micropython,deshipu/micropython,dxxb/micropython,turbinenreiter/micropython,kerneltask/micropython,adamkh/micropython,mpalomer/micropython,torwag/micropython,bvernoux/micropython,tuc-osg/micropython,Timmenem/micropython,chrisdearman/micropython,swegener/micropython,neilh10/micropython,trezor/micropython,alex-robbins/micropython,deshipu/micropython,MrSurly/micropython-esp32,hiway/micropython,pramasoul/micropython,adafruit/circuitpython,ChuckM/micropython,selste/micropython,ruffy91/micropython,supergis/micropython,alex-robbins/micropython,alex-robbins/micropython,swegener/micropython,toolmacher/micropython,alex-march/micropython,ruffy91/micropython,tobbad/micropython,matthewelse/micropython,blmorris/micropython,emfcamp/micropython,toolmacher/micropython,bvernoux/micropython,lowRISC/micropython,micropython/micropython-esp32,selste/micropython,SHA2017-badge/micropython-esp32,MrSurly/micropython-esp32,adafruit/circuitpython,turbinenreiter/micropython,deshipu/micropython,martinribelotta/micropython,tralamazza/micropython,supergis/micropython,oopy/micropython,MrSurly/micropython,alex-march/micropython,ganshun666/micropython,pramasoul/micropython,ChuckM/micropython,mpalomer/micropython,neilh10/micropython,xhat/micropython,matthewelse/micropython,torwag/micropython,matthewelse/micropython,supergis/micropython,mianos/micropython,matthewelse/micropython,henriknelson/micropython,xhat/micropython,micropython/micropython-esp32,dmazzella/micropython,noahwilliamsson/micropython,lowRISC/micropython,turbinenreiter/micropython,praemdonck/micropython,henriknelson/micropython,emfcamp/micropython,lowRISC/micropython,PappaPeppar/micropython,xhat/micropython,toolmacher/micropython,SHA2017-badge/micropython-esp32,omtinez/micropython,oopy/micropython,TDAbboud/micropython,kerneltask/micropython,torwag/micropython,omtinez/micropython,neilh10/micropython,danicampora/micropython,infinnovation/micropython,puuu/micropython,pramasoul/micropython,trezor/micropython,emfcamp/micropython,emfcamp/micropython,danicampora/micropython,hosaka/micropython,dhylands/micropython,tobbad/micropython,misterdanb/micropython,tuc-osg/micropython,AriZuu/micropython,micropython/micropython-esp32,henriknelson/micropython,henriknelson/micropython,EcmaXp/micropython,HenrikSolver/micropython,dinau/micropython,dxxb/micropython,trezor/micropython,ChuckM/micropython,ernesto-g/micropython,cwyark/micropython,neilh10/micropython,bvernoux/micropython,swegener/micropython,cwyark/micropython,infinnovation/micropython,dxxb/micropython,galenhz/micropython,selste/micropython,hosaka/micropython,Timmenem/micropython,adafruit/micropython