Fix potential leak in handle_directory_request()
Fix potential leak in handle_directory_request()

pfalcon/mongoose-mit,Killerduty/mongoose,emeric636/mongoose,recycled-air/mongoose,LikeLionKDH/mongoose,Rohit214/mongoose,dabomb1004/mongoose,BurgyDev/mongoose,Shaun-duplessis79/mongoose,chyland/Meerkat,aata/mongoose,nrmmota/mongoose,rgbkrk/mongoose,tst2005googlecode/mongoose,palaniyappanBala/mongoose,jiltednut/mongoose,tedAir/mongoose,Shaun-duplessis79/mongoose,stabAhead/mongoose,ancruna/mongoose,loveJesus/mongoose,joswa/mongoose,zzuzjl/mongoose,jiltednut/mongoose,RandallFlagg/mongoose,gcla/mongoose,plan44/libmongoose,emeric636/mongoose,stabAhead/mongoose,adamh0807/mongoose,deadmenace/mongoose,tstorch/mongoose,dabomb1004/mongoose,dabomb1004/mongoose,martindonofrio/mongoose,rgfernandes/mongoose,loveJesus/mongoose,elbuengad/mongoose,jaz303/mongoose-mit,fb39ca4/mongoose,mygittyhubby/free-mongoose,Rohit214/mongoose,tst2005googlecode/mongoose,dabomb1004/mongoose,DayBreakZhang/mongoose,ismailfatih/mongoose,danburkert/squeasel,codushlaine/mongoose,haima-zju/mongoose,mah007/mongoose,bharath1097/mongoose,brockn/squeasel,olupotd/mongoose,rgfernandes/mongoose,nrmmota/mongoose,jaz303/mongoose-mit,evook/mongoose,172205/mongoose,hugoprudente/mongoose,630543057/mongoose,jaz303/mongoose-mit,hauke/mongoose,kissofdarknes/mongoose,pfalcon-mirrors/mongoose-mit,jreidthompson/mongoose,gaochunzy/mongoose,asd1355215911/mongoose,RandallFlagg/mongoose,Lofik/mongoose,tmaguire/mongoose,mah007/mongoose,h2ooooooo/mongoose,commshare/civet-webserver,tst2005googlecode/mongoose,pfalcon/mongoose-mit,joeinfo888/mongoose,kelemenbalazs/mongoose,attilla/mongoose,plan44/libmongoose,lecion/mongoose,h2ooooooo/mongoose,anragab/mongoose,haima-zju/mongoose,codushlaine/mongoose,AndrewGomes/mongoose,M-Razavi/mongoose,thamagates/mongoose,frankschmidt2377/mongoose,evook/mongoose,Killerduty/mongoose,cloudtrends/mongoose,ruslansk/mongoose,lingjiancong/mongoose,txdowty/mongoose,LikeLionKDH/mongoose,aata/mongoose,Shaun-duplessis79/mongoose,Shaun-duplessis79/mongoose,shaobo8910/mongoose,daokoder/Marten,hugoprudente/mongoose,asd1355215911/mongoose,AndrewGomes/mongoose,LeeByeongHo/mongoose,zzuzjl/mongoose,tencrocs/mongoose,pfalcon/mongoose-mit,beemoboy/mongoose,LikeLionKDH/mongoose,Elirudite/mongoose,ruslansk/mongoose,LikeLionKDH/mongoose,UCSD-PL/csolve-webserver,tmaguire/mongoose,daokoder/Marten,rgbkrk/mongoose,pfalcon-mirrors/mongoose-mit,chesterpolo/mongoose,gihyun/mongoose,shaobo8910/mongoose,serinchu/mongoose,palaniyappanBala/mongoose,Letractively/mongoose,bharath1097/mongoose,codushlaine/mongoose,Archon-/mongoose,chesterpolo/mongoose,Killerduty/mongoose,mrwill84/mongoose,kuksugen/mongoose,Sinisteryu/mongoose,jiltednut/mongoose,hanminhee/mongoose,waxmiguelito/mongoose,yhk1038/mongoose,nethibernate/mongoose,olupotd/mongoose,natebot13/mongoose,nethibernate/mongoose,rgbkrk/mongoose,hanminhee/mongoose,asd1355215911/mongoose,funhatch/mongoose,Sinisteryu/mongoose,evook/mongoose,starfalling/mongoose,cuongphphanoi/mongoose,AndrewGomes/mongoose,danburkert/squeasel,chinab/mongoose,kyj4795/mongoose,hauke/mongoose,630543057/mongoose,olupotd/mongoose,thamagates/mongoose,mah007/mongoose,waxmiguelito/mongoose,Shaun-duplessis79/mongoose,deadmenace/mongoose,lecion/mongoose,kp001/mongoose,ndesktop/mongoose,sc0ttj/mongoose,ancruna/mongoose,kiss9815/mongoose,GerHobbelt/civet-webserver,fajsid/mongoose,pentix/mongoose,zzuzjl/mongoose,natebot13/mongoose,gaochunzy/mongoose,yeomann/mongoose,funhatch/mongoose,beemoboy/mongoose,Shaun-duplessis79/mongoose,kyj4795/mongoose,kiss9815/mongoose,tstorch/mongoose,fajsid/mongoose,mah007/mongoose,yeomann/mongoose,jreidthompson/mongoose,Lofik/mongoose,shaobo8910/mongoose,ranxian/mongoose,deadmenace/mongoose,psiniemi/mongoose,gaochunzy/mongoose,hauke/mongoose,ismailfatih/mongoose,adamh0807/mongoose,danburkert/squeasel,codushlaine/mongoose,630543057/mongoose,tst2005googlecode/mongoose,deekr/mongoose,RandallFlagg/mongoose,thamagates/mongoose,chyland/Meerkat,h2ooooooo/mongoose,bl4ckic3/mongoose,ancruna/mongoose,oldeye/mongoose,hugoprudente/mongoose,bl4ckic3/mongoose,h2ooooooo/mongoose,brockn/squeasel,Elirudite/mongoose,mmocean/mongoose,pentix/mongoose,danburkert/squeasel,kissofdarknes/mongoose,cuongphphanoi/mongoose,ufairiya/mongoose,Shaun-duplessis79/mongoose,jaz303/mongoose-mit,Rohit214/mongoose,serinchu/mongoose,BurgyDev/mongoose,gihyun/mongoose,h2ooooooo/mongoose,BackupGGCode/mongoose,ismailfatih/mongoose,Sinisteryu/mongoose,gcla/mongoose,emeric636/mongoose,M-Razavi/mongoose,kyj4795/mongoose,ruslansk/mongoose,oldeye/mongoose,BackupGGCode/mongoose,deadmenace/mongoose,sc0ttj/mongoose,gcla/mongoose,plan44/libmongoose,Killerduty/mongoose,jaz303/mongoose-mit,fb39ca4/mongoose,anragab/mongoose,fajsid/mongoose,palaniyappanBala/mongoose,mmocean/mongoose,funhatch/mongoose,DayBreakZhang/mongoose,AndrewGomes/mongoose,txdowty/mongoose,asd1355215911/mongoose,shaobo8910/mongoose,merona/mongoose,natebot13/mongoose,pfalcon/mongoose-mit,stabAhead/mongoose,aata/mongoose,M-Razavi/mongoose,stabAhead/mongoose,natebot13/mongoose,DayBreakZhang/mongoose,lecion/mongoose,bharath1097/mongoose,deekr/mongoose,ancruna/mongoose,kiss9815/mongoose,mygittyhubby/free-mongoose,commshare/civet-webserver,Elirudite/mongoose,olupotd/mongoose,ndesktop/mongoose,Elirudite/mongoose,chinab/mongoose,Archon-/mongoose,kelemenbalazs/mongoose,waxmiguelito/mongoose,tmaguire/mongoose,ranxian/mongoose,mrwill84/mongoose,hauke/mongoose,kissofdarknes/mongoose,UCSD-PL/csolve-webserver,starfalling/mongoose,yeomann/mongoose,commshare/civet-webserver,chesterpolo/mongoose,agenwebtoto/mongoose,Lofik/mongoose,slachiewicz/mongoose,merona/mongoose,thamagates/mongoose,agenwebtoto/mongoose,natebot13/mongoose,jiltednut/mongoose,ufairiya/mongoose,pfalcon-mirrors/mongoose-mit,funhatch/mongoose,agenwebtoto/mongoose,BackupGGCode/mongoose,lecion/mongoose,merona/mongoose,oldeye/mongoose,mmocean/mongoose,mulle-nat/mongoose,ndesktop/mongoose,fb39ca4/mongoose,mulle-nat/mongoose,GerHobbelt/civet-webserver,tencrocs/mongoose,DayBreakZhang/mongoose,tedAir/mongoose,DayBreakZhang/mongoose,172205/mongoose,Letractively/mongoose,yhk1038/mongoose,rgbkrk/mongoose,ranxian/mongoose,ufairiya/mongoose,adamh0807/mongoose,mrwill84/mongoose,deekr/mongoose,172205/mongoose,sc0ttj/mongoose,serinchu/mongoose,anragab/mongoose,sc0ttj/mongoose,kuksugen/mongoose,serinchu/mongoose,pfalcon-mirrors/mongoose-mit,jaz303/mongoose-mit,ndesktop/mongoose,recycled-air/mongoose,tmaguire/mongoose,tedAir/mongoose,commshare/civet-webserver,attilla/mongoose,haima-zju/mongoose,nethibernate/mongoose,kissofdarknes/mongoose,ndesktop/mongoose,fb39ca4/mongoose,joswa/mongoose,Elirudite/mongoose,Lofik/mongoose,ismailfatih/mongoose,tstorch/mongoose,bl4ckic3/mongoose,evook/mongoose,haima-zju/mongoose,michaelarmstrong/mongoose,ndesktop/mongoose,michaelarmstrong/mongoose,recycled-air/mongoose,kuksugen/mongoose,gcla/mongoose,mygittyhubby/free-mongoose,Sinisteryu/mongoose,natebot13/mongoose,mmocean/mongoose,slachiewicz/mongoose,M-Razavi/mongoose,merona/mongoose,ruslansk/mongoose,emeric636/mongoose,lingjiancong/mongoose,danburkert/squeasel,ufairiya/mongoose,shaobo8910/mongoose,h2ooooooo/mongoose,AndrewGomes/mongoose,mygittyhubby/free-mongoose,waxmiguelito/mongoose,adamh0807/mongoose,nrmmota/mongoose,martindonofrio/mongoose,zzuzjl/mongoose,daokoder/Marten,mmocean/mongoose,attilla/mongoose,yeomann/mongoose,tst2005googlecode/mongoose,ancruna/mongoose,mmocean/mongoose,hugoprudente/mongoose,hanminhee/mongoose,mulle-nat/mongoose,jreidthompson/mongoose,daokoder/Marten,mygittyhubby/free-mongoose,pentix/mongoose,hanminhee/mongoose,fajsid/mongoose,agenwebtoto/mongoose,Sinisteryu/mongoose,shaobo8910/mongoose,hugoprudente/mongoose,kelemenbalazs/mongoose,gihyun/mongoose,ufairiya/mongoose,tencrocs/mongoose,commshare/civet-webserver,lingjiancong/mongoose,olupotd/mongoose,M-Razavi/mongoose,slachiewicz/mongoose,pfalcon-mirrors/mongoose-mit,wachub/mongoose,nethibernate/mongoose,adamh0807/mongoose,cuongphphanoi/mongoose,ruslansk/mongoose,fajsid/mongoose,M-Razavi/mongoose,emeric636/mongoose,rgfernandes/mongoose,gaochunzy/mongoose,h2ooooooo/mongoose,Elirudite/mongoose,BackupGGCode/mongoose,yhk1038/mongoose,kissofdarknes/mongoose,630543057/mongoose,agenwebtoto/mongoose,joeinfo888/mongoose,wachub/mongoose,pfalcon/mongoose-mit,adamh0807/mongoose,kissofdarknes/mongoose,chyland/Meerkat,wachub/mongoose,jiltednut/mongoose,BurgyDev/mongoose,bharath1097/mongoose,deekr/mongoose,mrwill84/mongoose,LeeByeongHo/mongoose,palaniyappanBala/mongoose,gcla/mongoose,slachiewicz/mongoose,martindonofrio/mongoose,frankschmidt2377/mongoose,kelemenbalazs/mongoose,tedAir/mongoose,Rohit214/mongoose,beemoboy/mongoose,ruslansk/mongoose,Rohit214/mongoose,Serge78rus/mongoose,gihyun/mongoose,hugoprudente/mongoose,yeomann/mongoose,daokoder/Marten,joeinfo888/mongoose,loveJesus/mongoose,loveJesus/mongoose,ufairiya/mongoose,martindonofrio/mongoose,jiltednut/mongoose,Archon-/mongoose,brockn/squeasel,kuksugen/mongoose,deadmenace/mongoose,waxmiguelito/mongoose,UCSD-PL/csolve-webserver,bharath1097/mongoose,mulle-nat/mongoose,anragab/mongoose,chyland/Meerkat,emeric636/mongoose,frankschmidt2377/mongoose,plan44/libmongoose,rgbkrk/mongoose,joeinfo888/mongoose,LeeByeongHo/mongoose,bharath1097/mongoose,codushlaine/mongoose,tencrocs/mongoose,Elirudite/mongoose,stabAhead/mongoose,tstorch/mongoose,LikeLionKDH/mongoose,AndrewGomes/mongoose,Serge78rus/mongoose,gaochunzy/mongoose,RandallFlagg/mongoose,bharath1097/mongoose,plan44/libmongoose,oldeye/mongoose,thamagates/mongoose,thamagates/mongoose,elbuengad/mongoose,Archon-/mongoose,Serge78rus/mongoose,AndrewGomes/mongoose,pentix/mongoose,chesterpolo/mongoose,GerHobbelt/civet-webserver,mygittyhubby/free-mongoose,M-Razavi/mongoose,haima-zju/mongoose,jreidthompson/mongoose,ancruna/mongoose,chesterpolo/mongoose,attilla/mongoose,kiss9815/mongoose,gihyun/mongoose,GerHobbelt/civet-webserver,attilla/mongoose,wachub/mongoose,Lofik/mongoose,waxmiguelito/mongoose,deekr/mongoose,kyj4795/mongoose,DayBreakZhang/mongoose,codushlaine/mongoose,danburkert/squeasel,LeeByeongHo/mongoose,joswa/mongoose,kelemenbalazs/mongoose,slachiewicz/mongoose,Letractively/mongoose,palaniyappanBala/mongoose,agenwebtoto/mongoose,evook/mongoose,kp001/mongoose,Archon-/mongoose,chinab/mongoose,cloudtrends/mongoose,pentix/mongoose,yhk1038/mongoose,BackupGGCode/mongoose,kiss9815/mongoose,deadmenace/mongoose,BurgyDev/mongoose,zzuzjl/mongoose,tencrocs/mongoose,ndesktop/mongoose,ruslansk/mongoose,txdowty/mongoose,UCSD-PL/csolve-webserver,gaochunzy/mongoose,lecion/mongoose,ranxian/mongoose,serinchu/mongoose,kissofdarknes/mongoose,kp001/mongoose,commshare/civet-webserver,chyland/Meerkat,Lofik/mongoose,mmocean/mongoose,cloudtrends/mongoose,olupotd/mongoose,asd1355215911/mongoose,630543057/mongoose,beemoboy/mongoose,palaniyappanBala/mongoose,thamagates/mongoose,joeinfo888/mongoose,martindonofrio/mongoose,oldeye/mongoose,starfalling/mongoose,palaniyappanBala/mongoose,bl4ckic3/mongoose,BackupGGCode/mongoose,asd1355215911/mongoose,Killerduty/mongoose,deekr/mongoose,recycled-air/mongoose,nrmmota/mongoose,lingjiancong/mongoose,evook/mongoose,kuksugen/mongoose,funhatch/mongoose,commshare/civet-webserver,BackupGGCode/mongoose,Letractively/mongoose,tstorch/mongoose,cloudtrends/mongoose,cloudtrends/mongoose,agenwebtoto/mongoose,hauke/mongoose,wachub/mongoose,chyland/Meerkat,emeric636/mongoose,LeeByeongHo/mongoose,mrwill84/mongoose,psiniemi/mongoose,anragab/mongoose,Archon-/mongoose,mygittyhubby/free-mongoose,rgfernandes/mongoose,txdowty/mongoose,michaelarmstrong/mongoose,nethibernate/mongoose,asd1355215911/mongoose,kyj4795/mongoose,yhk1038/mongoose,waxmiguelito/mongoose,joswa/mongoose,cloudtrends/mongoose,GerHobbelt/civet-webserver,deekr/mongoose,aata/mongoose,natebot13/mongoose,172205/mongoose,frankschmidt2377/mongoose,gaochunzy/mongoose,hauke/mongoose,michaelarmstrong/mongoose,Serge78rus/mongoose,ufairiya/mongoose,michaelarmstrong/mongoose,Rohit214/mongoose,starfalling/mongoose,evook/mongoose,Rohit214/mongoose,chinab/mongoose,nrmmota/mongoose,Letractively/mongoose,chinab/mongoose,plan44/libmongoose,tst2005googlecode/mongoose,ranxian/mongoose,hugoprudente/mongoose,ancruna/mongoose,kp001/mongoose,olupotd/mongoose,jreidthompson/mongoose,daokoder/Marten,tedAir/mongoose,starfalling/mongoose,jiltednut/mongoose,mah007/mongoose,tst2005googlecode/mongoose,BurgyDev/mongoose,hanminhee/mongoose,UCSD-PL/csolve-webserver,ismailfatih/mongoose,elbuengad/mongoose,DayBreakZhang/mongoose,recycled-air/mongoose,brockn/squeasel,deadmenace/mongoose,fb39ca4/mongoose,elbuengad/mongoose,Lofik/mongoose,loveJesus/mongoose,slachiewicz/mongoose,GerHobbelt/civet-webserver,psiniemi/mongoose,daokoder/Marten,kp001/mongoose,brockn/squeasel,cuongphphanoi/mongoose,mrwill84/mongoose,rgfernandes/mongoose,sc0ttj/mongoose,tmaguire/mongoose,frankschmidt2377/mongoose,cuongphphanoi/mongoose,RandallFlagg/mongoose,cloudtrends/mongoose,Archon-/mongoose,txdowty/mongoose,172205/mongoose,beemoboy/mongoose,psiniemi/mongoose,codushlaine/mongoose,joswa/mongoose,psiniemi/mongoose,slachiewicz/mongoose,elbuengad/mongoose,adamh0807/mongoose,mulle-nat/mongoose,dabomb1004/mongoose,Serge78rus/mongoose,brockn/squeasel,aata/mongoose,bl4ckic3/mongoose,lingjiancong/mongoose,merona/mongoose,mrwill84/mongoose,shaobo8910/mongoose