bectl_locate_jail(), print_snapshots() and bectl_cmd_list() allocate resource with be_prop_list_alloc(). When some error occrus, relevant resource should be released with be_prop_list_free(). Forgetting the release operation will cause resource leak. This patch fix the resource leak with adding the missing be_prop_list_free() on the error path.
Created attachment 235184 [details] a possible patch