Fixed memory leak in bayes_risk.
Merge branch 'master' of github.com:csferrie/python-qinfer