[asterisk-commits] rmudgett: trunk r402945 - in /trunk: ./ main/bucket.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Nov 21 12:11:06 CST 2013
Author: rmudgett
Date: Thu Nov 21 12:11:04 2013
New Revision: 402945
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=402945
Log:
bucket: Fix scheme ref leak in __ast_bucket_scheme_register().
........
Merged revisions 402944 from http://svn.asterisk.org/svn/asterisk/branches/12
Modified:
trunk/ (props changed)
trunk/main/bucket.c
Propchange: trunk/
------------------------------------------------------------------------------
--- branch-12-merged (original)
+++ branch-12-merged Thu Nov 21 12:11:04 2013
@@ -1,1 +1,1 @@
-/branches/12:1-398558,398560-398577,398579-399305,399307-401390,401392-402738,402755,402757,402767,402769,402787,402793,402804,402817,402838,402864,402891,402926,402940-402941
+/branches/12:1-398558,398560-398577,398579-399305,399307-401390,401392-402738,402755,402757,402767,402769,402787,402793,402804,402817,402838,402864,402891,402926,402940-402941,402944
Modified: trunk/main/bucket.c
URL: http://svnview.digium.com/svn/asterisk/trunk/main/bucket.c?view=diff&rev=402945&r1=402944&r2=402945
==============================================================================
--- trunk/main/bucket.c (original)
+++ trunk/main/bucket.c Thu Nov 21 12:11:04 2013
@@ -254,7 +254,7 @@
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 ||
More information about the asterisk-commits
mailing list