Port the fix of the memory-leak reported in #1222 to the trunk.
Port the fix of the memory-leak reported in #1222 to the trunk.

stefanv/numpy,bmorris3/numpy,hainm/numpy,endolith/numpy,sonnyhu/numpy,rmcgibbo/numpy,solarjoe/numpy,abalkin/numpy,Linkid/numpy,behzadnouri/numpy,b-carter/numpy,numpy/numpy,larsmans/numpy,ChristopherHogan/numpy,dimasad/numpy,cowlicks/numpy,MSeifert04/numpy,kirillzhuravlev/numpy,astrofrog/numpy,ChanderG/numpy,mingwpy/numpy,bmorris3/numpy,kirillzhuravlev/numpy,WillieMaddox/numpy,CMartelLML/numpy,mingwpy/numpy,rgommers/numpy,simongibbons/numpy,kirillzhuravlev/numpy,MichaelAquilina/numpy,Srisai85/numpy,sigma-random/numpy,pizzathief/numpy,cowlicks/numpy,matthew-brett/numpy,jonathanunderwood/numpy,jorisvandenbossche/numpy,rherault-insa/numpy,MSeifert04/numpy,ChanderG/numpy,skwbc/numpy,ssanderson/numpy,sigma-random/numpy,empeeu/numpy,dwf/numpy,AustereCuriosity/numpy,CMartelLML/numpy,larsmans/numpy,trankmichael/numpy,yiakwy/numpy,embray/numpy,jorisvandenbossche/numpy,maniteja123/numpy,jakirkham/numpy,Dapid/numpy,ogrisel/numpy,pizzathief/numpy,BMJHayward/numpy,charris/numpy,astrofrog/numpy,Anwesh43/numpy,SunghanKim/numpy,AustereCuriosity/numpy,mindw/numpy,ESSS/numpy,dwillmer/numpy,mindw/numpy,abalkin/numpy,mingwpy/numpy,jonathanunderwood/numpy,BMJHayward/numpy,Eric89GXL/numpy,dch312/numpy,ssanderson/numpy,ahaldane/numpy,ViralLeadership/numpy,dimasad/numpy,immerrr/numpy,madphysicist/numpy,seberg/numpy,nguyentu1602/numpy,pyparallel/numpy,sigma-random/numpy,ogrisel/numpy,sinhrks/numpy,stuarteberg/numpy,BMJHayward/numpy,numpy/numpy-refactor,dwf/numpy,NextThought/pypy-numpy,gfyoung/numpy,Yusa95/numpy,ChanderG/numpy,sonnyhu/numpy,anntzer/numpy,dwf/numpy,jankoslavic/numpy,rherault-insa/numpy,tacaswell/numpy,tdsmith/numpy,dch312/numpy,pbrod/numpy,seberg/numpy,rmcgibbo/numpy,Linkid/numpy,jschueller/numpy,grlee77/numpy,madphysicist/numpy,ViralLeadership/numpy,jankoslavic/numpy,larsmans/numpy,BabeNovelty/numpy,pelson/numpy,abalkin/numpy,grlee77/numpy,ekalosak/numpy,Linkid/numpy,njase/numpy,dch312/numpy,nbeaver/numpy,madphysicist/numpy,grlee77/numpy,empeeu/numpy,cjermain/numpy,rgommers/numpy,jakirkham/numpy,groutr/numpy,Dapid/numpy,embray/numpy,utke1/numpy,MichaelAquilina/numpy,bertrand-l/numpy,SunghanKim/numpy,nbeaver/numpy,GaZ3ll3/numpy,musically-ut/numpy,Eric89GXL/numpy,Eric89GXL/numpy,groutr/numpy,madphysicist/numpy,jschueller/numpy,WarrenWeckesser/numpy,numpy/numpy-refactor,Anwesh43/numpy,Eric89GXL/numpy,SiccarPoint/numpy,maniteja123/numpy,ekalosak/numpy,rherault-insa/numpy,ogrisel/numpy,ESSS/numpy,pyparallel/numpy,bertrand-l/numpy,utke1/numpy,sonnyhu/numpy,immerrr/numpy,solarjoe/numpy,maniteja123/numpy,KaelChen/numpy,chatcannon/numpy,ssanderson/numpy,numpy/numpy-refactor,gmcastil/numpy,KaelChen/numpy,rajathkumarmp/numpy,endolith/numpy,CMartelLML/numpy,skwbc/numpy,bringingheavendown/numpy,madphysicist/numpy,trankmichael/numpy,embray/numpy,SiccarPoint/numpy,empeeu/numpy,WarrenWeckesser/numpy,githubmlai/numpy,chiffa/numpy,rajathkumarmp/numpy,sinhrks/numpy,sonnyhu/numpy,leifdenby/numpy,rgommers/numpy,jorisvandenbossche/numpy,mathdd/numpy,WarrenWeckesser/numpy,ddasilva/numpy,argriffing/numpy,chiffa/numpy,has2k1/numpy,AustereCuriosity/numpy,dimasad/numpy,Srisai85/numpy,simongibbons/numpy,groutr/numpy,skymanaditya1/numpy,WarrenWeckesser/numpy,rudimeier/numpy,stuarteberg/numpy,matthew-brett/numpy,felipebetancur/numpy,SunghanKim/numpy,shoyer/numpy,ogrisel/numpy,NextThought/pypy-numpy,MaPePeR/numpy,drasmuss/numpy,simongibbons/numpy,mathdd/numpy,ahaldane/numpy,Yusa95/numpy,Yusa95/numpy,rhythmsosad/numpy,has2k1/numpy,dwf/numpy,andsor/numpy,mindw/numpy,musically-ut/numpy,rmcgibbo/numpy,mwiebe/numpy,ESSS/numpy,kiwifb/numpy,GaZ3ll3/numpy,stuarteberg/numpy,mindw/numpy,leifdenby/numpy,behzadnouri/numpy,gmcastil/numpy,ddasilva/numpy,mathdd/numpy,anntzer/numpy,Srisai85/numpy,shoyer/numpy,charris/numpy,SiccarPoint/numpy,skymanaditya1/numpy,felipebetancur/numpy,rhythmsosad/numpy,KaelChen/numpy,ewmoore/numpy,BMJHayward/numpy,BabeNovelty/numpy,stefanv/numpy,rhythmsosad/numpy,ewmoore/numpy,yiakwy/numpy,embray/numpy,pdebuyl/numpy,MaPePeR/numpy,njase/numpy,Dapid/numpy,githubmlai/numpy,cowlicks/numpy,Linkid/numpy,bringingheavendown/numpy,Anwesh43/numpy,mhvk/numpy,tdsmith/numpy,yiakwy/numpy,ewmoore/numpy,WillieMaddox/numpy,argriffing/numpy,ogrisel/numpy,ajdawson/numpy,ChristopherHogan/numpy,rhythmsosad/numpy,BabeNovelty/numpy,felipebetancur/numpy,brandon-rhodes/numpy,trankmichael/numpy,tynn/numpy,rudimeier/numpy,ViralLeadership/numpy,joferkington/numpy,ajdawson/numpy,bmorris3/numpy,GrimDerp/numpy,Srisai85/numpy,ahaldane/numpy,stefanv/numpy,pelson/numpy,rajathkumarmp/numpy,musically-ut/numpy,mhvk/numpy,pyparallel/numpy,utke1/numpy,jorisvandenbossche/numpy,moreati/numpy,hainm/numpy,NextThought/pypy-numpy,ChristopherHogan/numpy,ekalosak/numpy,jakirkham/numpy,numpy/numpy-refactor,pbrod/numpy,mattip/numpy,mwiebe/numpy,matthew-brett/numpy,tdsmith/numpy,numpy/numpy,pizzathief/numpy,jankoslavic/numpy,argriffing/numpy,ContinuumIO/numpy,rudimeier/numpy,sinhrks/numpy,cjermain/numpy,githubmlai/numpy,simongibbons/numpy,dch312/numpy,bmorris3/numpy,pdebuyl/numpy,grlee77/numpy,mhvk/numpy,pelson/numpy,immerrr/numpy,anntzer/numpy,cowlicks/numpy,tacaswell/numpy,andsor/numpy,mortada/numpy,b-carter/numpy,dwf/numpy,NextThought/pypy-numpy,ContinuumIO/numpy,kiwifb/numpy,SiccarPoint/numpy,jankoslavic/numpy,njase/numpy,MichaelAquilina/numpy,has2k1/numpy,andsor/numpy,leifdenby/numpy,pelson/numpy,ContinuumIO/numpy,musically-ut/numpy,CMartelLML/numpy,githubmlai/numpy,yiakwy/numpy,b-carter/numpy,tynn/numpy,grlee77/numpy,matthew-brett/numpy,moreati/numpy,naritta/numpy,embray/numpy,dato-code/numpy,mingwpy/numpy,ewmoore/numpy,GrimDerp/numpy,ekalosak/numpy,dato-code/numpy,seberg/numpy,ajdawson/numpy,dato-code/numpy,mhvk/numpy,simongibbons/numpy,seberg/numpy,drasmuss/numpy,pbrod/numpy,mathdd/numpy,stefanv/numpy,chatcannon/numpy,Anwesh43/numpy,brandon-rhodes/numpy,jorisvandenbossche/numpy,mattip/numpy,gmcastil/numpy,tacaswell/numpy,naritta/numpy,nguyentu1602/numpy,felipebetancur/numpy,pelson/numpy,astrofrog/numpy,joferkington/numpy,brandon-rhodes/numpy,dwillmer/numpy,mattip/numpy,mattip/numpy,jschueller/numpy,ajdawson/numpy,naritta/numpy,dato-code/numpy,endolith/numpy,empeeu/numpy,gfyoung/numpy,mortada/numpy,sigma-random/numpy,ChanderG/numpy,kirillzhuravlev/numpy,jschueller/numpy,Yusa95/numpy,cjermain/numpy,nguyentu1602/numpy,pizzathief/numpy,pizzathief/numpy,stuarteberg/numpy,mwiebe/numpy,moreati/numpy,joferkington/numpy,jakirkham/numpy,WillieMaddox/numpy,KaelChen/numpy,MaPePeR/numpy,astrofrog/numpy,ddasilva/numpy,nguyentu1602/numpy,rajathkumarmp/numpy,shoyer/numpy,chiffa/numpy,MaPePeR/numpy,mortada/numpy,naritta/numpy,MSeifert04/numpy,solarjoe/numpy,kiwifb/numpy,stefanv/numpy,immerrr/numpy,numpy/numpy,MSeifert04/numpy,trankmichael/numpy,has2k1/numpy,pdebuyl/numpy,charris/numpy,ahaldane/numpy,dwillmer/numpy,GaZ3ll3/numpy,behzadnouri/numpy,ahaldane/numpy,mortada/numpy,larsmans/numpy,mhvk/numpy,rmcgibbo/numpy,tynn/numpy,nbeaver/numpy,BabeNovelty/numpy,hainm/numpy,andsor/numpy,GaZ3ll3/numpy,pbrod/numpy,hainm/numpy,endolith/numpy,bertrand-l/numpy,joferkington/numpy,numpy/numpy-refactor,WarrenWeckesser/numpy,tdsmith/numpy,ewmoore/numpy,pdebuyl/numpy,charris/numpy,drasmuss/numpy,rudimeier/numpy,astrofrog/numpy,skymanaditya1/numpy,GrimDerp/numpy,MSeifert04/numpy,skymanaditya1/numpy,brandon-rhodes/numpy,shoyer/numpy,sinhrks/numpy,cjermain/numpy,gfyoung/numpy,dwillmer/numpy,anntzer/numpy,jonathanunderwood/numpy,shoyer/numpy,chatcannon/numpy,jakirkham/numpy,MichaelAquilina/numpy,ChristopherHogan/numpy,skwbc/numpy,pbrod/numpy,rgommers/numpy,bringingheavendown/numpy,numpy/numpy,SunghanKim/numpy,matthew-brett/numpy,GrimDerp/numpy,dimasad/numpy