Fix leaked proc refcnt in showmapping