[svn-commits] eliel: branch group/data_api_gsoc2009 r205041 - /team/group/data_api_gsoc2009...

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue Jul 7 07:15:33 CDT 2009


Author: eliel
Date: Tue Jul  7 07:15:30 2009
New Revision: 205041

URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=205041
Log:
Remove a reference to the child being created in the search tree.


Modified:
    team/group/data_api_gsoc2009/main/data.c

Modified: team/group/data_api_gsoc2009/main/data.c
URL: http://svn.asterisk.org/svn-view/asterisk/team/group/data_api_gsoc2009/main/data.c?view=diff&rev=205041&r1=205040&r2=205041
==============================================================================
--- team/group/data_api_gsoc2009/main/data.c (original)
+++ team/group/data_api_gsoc2009/main/data.c Tue Jul  7 07:15:30 2009
@@ -810,6 +810,8 @@
 			child->cmp_type = data_search_comparison_type(ast_str_buffer(comparison));
 			child->value = ast_strdup(ast_str_buffer(value));
 		}
+
+		ao2_ref(child, -1);
 
 		elements = strtok(NULL, ",");
 	}




More information about the svn-commits mailing list