Scabrero/fix memory leaks

you should be able to just `talloc_free(bpath)` here