BUG: Fix tiny memory leaks when `like=` overrides are used
BUG: Fix tiny memory leaks when `like=` overrides are used

I thought I had fixed these leaks, but it appears I missed some.
We probably should backport this to 1.20.x (its simple), but the leaks
are also pretty harmless unless someone uses `like=` hundrets of
thousands of times in a running program (and its a new fetaure).

numpy/numpy,mhvk/numpy,jakirkham/numpy,charris/numpy,jakirkham/numpy,rgommers/numpy,pdebuyl/numpy,seberg/numpy,jakirkham/numpy,pdebuyl/numpy,endolith/numpy,seberg/numpy,numpy/numpy,anntzer/numpy,pdebuyl/numpy,pbrod/numpy,simongibbons/numpy,endolith/numpy,mattip/numpy,mhvk/numpy,jakirkham/numpy,numpy/numpy,rgommers/numpy,anntzer/numpy,endolith/numpy,rgommers/numpy,pbrod/numpy,rgommers/numpy,mattip/numpy,numpy/numpy,mhvk/numpy,charris/numpy,charris/numpy,simongibbons/numpy,charris/numpy,anntzer/numpy,seberg/numpy,mattip/numpy,anntzer/numpy,pdebuyl/numpy,mhvk/numpy,simongibbons/numpy,pbrod/numpy,pbrod/numpy,simongibbons/numpy,endolith/numpy,mhvk/numpy,jakirkham/numpy,seberg/numpy,pbrod/numpy,simongibbons/numpy,mattip/numpy