........
Merged revisions 402944 from http://svn.asterisk.org/svn/asterisk/branches/12
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@402945
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
bucket_file_destroy_cb destroy_cb, struct ast_module *module)
{
SCOPED_AO2WRLOCK(lock, schemes);
- struct ast_bucket_scheme *scheme;
+ RAII_VAR(struct ast_bucket_scheme *, scheme, NULL, ao2_cleanup);
if (ast_strlen_zero(name) || !bucket || !file ||
!bucket->create || !bucket->delete || !bucket->retrieve_id ||