ERROR TYPE: RESOURCE_LEAK MODULE SUPPORT LEVEL: core Generated on: 2012-04-10 12:02:08.356592 ------------------------------------------------ FINDING #0 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:554: alloc_fn: Calling allocation function "__ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: alloc_fn: Storage is returned from allocation function "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: var_assign: Assigning: "multi_iterator" = "_ast_calloc(1UL, sizeof (*multi_iterator) /*40*/, "astobj2.c", 613, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:752: return_alloc: Returning allocated memory "multi_iterator". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: return_alloc_fn: Directly returning storage allocated by "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:554: leaked_storage: Failing to save storage allocated by "__ao2_callback(c, (enum search_flags)11, ao2_match_by_addr, user_data)" leaks it. FINDING #1 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/xmldoc.c:1602: alloc_fn: Calling allocation function "xmldoc_get_syntax_fun". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/xmldoc.c:837: alloc_arg: "xmldoc_reverse_helper" opens handle stored into "syntax". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/xmldoc.c:531: alloc_fn: Storage is returned from allocation function "_ast_realloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:516: alloc_fn: Storage is returned from allocation function "realloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:516: var_assign: Assigning: "newp" = "realloc(p, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:516: return_alloc: Returning allocated memory "newp". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/xmldoc.c:531: var_assign: Assigning: "*syntax" = "_ast_realloc(*syntax, totlen, "xmldoc.c", 531, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/xmldoc.c:539: noescape: Variable "*syntax" is not freed or pointed-to in function "memmove". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/xmldoc.c:542: noescape: Variable "*syntax" is not freed or pointed-to in function "strcpy". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/xmldoc.c:840: return_alloc: Returning allocated memory "syntax". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/xmldoc.c:1602: var_assign: Assigning: "optionsyntax" = storage returned from "xmldoc_get_syntax_fun(node, optname, "argument", 0, optparams)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/xmldoc.c:1609: noescape: Variable "optionsyntax" is not freed or pointed-to in function "ast_str_append". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/xmldoc.c:1602: overwrite_var: Overwriting "optionsyntax" in call "optionsyntax = xmldoc_get_syntax_fun(node, optname, "argument", 0, optparams)" leaks the storage that "optionsyntax" points to. FINDING #2 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/xmldoc.c:1602: alloc_fn: Calling allocation function "xmldoc_get_syntax_fun". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/xmldoc.c:837: alloc_arg: "xmldoc_reverse_helper" opens handle stored into "syntax". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/xmldoc.c:531: alloc_fn: Storage is returned from allocation function "_ast_realloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:516: alloc_fn: Storage is returned from allocation function "realloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:516: var_assign: Assigning: "newp" = "realloc(p, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:516: return_alloc: Returning allocated memory "newp". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/xmldoc.c:531: var_assign: Assigning: "*syntax" = "_ast_realloc(*syntax, totlen, "xmldoc.c", 531, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/xmldoc.c:539: noescape: Variable "*syntax" is not freed or pointed-to in function "memmove". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/xmldoc.c:542: noescape: Variable "*syntax" is not freed or pointed-to in function "strcpy". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/xmldoc.c:840: return_alloc: Returning allocated memory "syntax". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/xmldoc.c:1602: var_assign: Assigning: "optionsyntax" = storage returned from "xmldoc_get_syntax_fun(node, optname, "argument", 0, optparams)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/xmldoc.c:1609: noescape: Variable "optionsyntax" is not freed or pointed-to in function "ast_str_append". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/xmldoc.c:1618: leaked_storage: Variable "optionsyntax" going out of scope leaks the storage it points to. FINDING #3 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/xmldoc.c:1683: alloc_fn: Calling allocation function "ast_str_create". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/strings.h:405: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/strings.h:405: var_assign: Assigning: "buf" = "_ast_calloc(1UL, sizeof (*buf) /*24*/ + init_len, "/builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/strings.h", 420, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/strings.h:405: return_alloc: Returning allocated memory "buf". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/xmldoc.c:1683: var_assign: Assigning: "ret" = storage returned from "ast_str_create(128UL)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/xmldoc.c:1687: leaked_storage: Variable "ret" going out of scope leaks the storage it points to. [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/xmldoc.c:1693: leaked_storage: Variable "ret" going out of scope leaks the storage it points to. [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/xmldoc.c:1705: leaked_storage: Variable "ret" going out of scope leaks the storage it points to. FINDING #4 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/translate.c:261: alloc_fn: Calling allocation function "newpvt". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/translate.c:119: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/translate.c:119: var_assign: Assigning: "pvt" = "_ast_calloc(1UL, len, "translate.c", 119, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/translate.c:123: var_assign: Assigning: "ofs" = "pvt". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/translate.c:136: return_alloc: Returning allocated memory "pvt". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/translate.c:261: var_assign: Assigning: "cur" = storage returned from "newpvt(t)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/translate.c:270: var_assign: Assigning: "head" = "cur". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/translate.c:273: var_assign: Assigning: "tail" = "cur". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/translate.c:277: leaked_storage: Variable "cur" going out of scope leaks the storage it points to. [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/translate.c:259: leaked_storage: Variable "tail" going out of scope leaks the storage it points to. [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/translate.c:259: leaked_storage: Variable "head" going out of scope leaks the storage it points to. FINDING #5 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/ast_expr2.c:1876: alloc_fn: Calling allocation function "malloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/ast_expr2.c:1876: var_assign: Assigning: "yyptr" = storage returned from "malloc(yystacksize * 26UL + 30UL)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/ast_expr2.c:1882: var_assign: Assigning: "yyls" = "yyptr". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/ast_expr2.c:1882: overwrite_var: Overwriting "yyls" in call "yyls = &yyptr->yyls_alloc" leaks the storage that "yyls" points to. [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/ast_expr2.c:1882: noescape: Variable "yyls" is not freed or pointed-to in function "memcpy". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/ast_expr2.c:1882: noescape: Variable "yyptr" is not freed or pointed-to in function "memcpy". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/ast_expr2.c:1886: leaked_storage: Variable "yyptr" going out of scope leaks the storage it points to. [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/ast_expr2.c:1892: var_assign: Assigning: "yylsp" = "yyls". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/ast_expr2.c:1892: overwrite_var: Overwriting "yylsp" in call "yylsp = yyls + yysize - 1" leaks the storage that "yylsp" points to. [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/ast_expr2.c:2426: noescape: Variable "yylsp" is not freed or pointed-to in function "yydestruct". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/ast_expr2.c:1452:72: noescape: "yydestruct" does not free or save its pointer parameter "yylocationp". FINDING #6 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/ast_expr2.c:1876: alloc_fn: Calling allocation function "malloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/ast_expr2.c:1876: var_assign: Assigning: "yyptr" = storage returned from "malloc(yystacksize * 26UL + 30UL)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/ast_expr2.c:1882: var_assign: Assigning: "yyls" = "yyptr". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/ast_expr2.c:1882: noescape: Variable "yyptr" is not freed or pointed-to in function "memcpy". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/ast_expr2.c:1886: leaked_storage: Variable "yyptr" going out of scope leaks the storage it points to. [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/ast_expr2.c:1892: var_assign: Assigning: "yylsp" = "yyls". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/ast_expr2.c:2426: noescape: Variable "yylsp" is not freed or pointed-to in function "yydestruct". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/ast_expr2.c:1452:72: noescape: "yydestruct" does not free or save its pointer parameter "yylocationp". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/ast_expr2.c:2482: noescape: Variable "yylsp" is not freed or pointed-to in function "yydestruct". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/ast_expr2.c:2495: leaked_storage: Variable "yyls" going out of scope leaks the storage it points to. [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/ast_expr2.c:2495: leaked_storage: Variable "yylsp" going out of scope leaks the storage it points to. FINDING #7 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/event.c:1405: alloc_fn: Calling allocation function "__ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: alloc_fn: Storage is returned from allocation function "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: var_assign: Assigning: "multi_iterator" = "_ast_calloc(1UL, sizeof (*multi_iterator) /*40*/, "astobj2.c", 613, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:752: return_alloc: Returning allocated memory "multi_iterator". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: return_alloc_fn: Directly returning storage allocated by "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/event.c:1405: leaked_storage: Failing to save storage allocated by "__ao2_callback(cache, (enum search_flags)15, ast_event_cmp, &tmp_event_ref)" leaks it. FINDING #8 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/db1-ast/hash/hash.c:923: alloc_fn: Calling allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/db1-ast/hash/hash.c:923: var_assign: Assigning: "store" = storage returned from "calloc(nsegs << hashp->hdr.sshift, sizeof (SEGMENT) /*8*/)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/db1-ast/hash/hash.c:932: leaked_storage: Variable "store" going out of scope leaks the storage it points to. FINDING #9 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/ccss.c:2237: alloc_fn: Calling allocation function "__ao2_callback_data". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:783: alloc_fn: Storage is returned from allocation function "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: var_assign: Assigning: "multi_iterator" = "_ast_calloc(1UL, sizeof (*multi_iterator) /*40*/, "astobj2.c", 613, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:752: return_alloc: Returning allocated memory "multi_iterator". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:783: return_alloc_fn: Directly returning storage allocated by "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/ccss.c:2237: leaked_storage: Failing to save storage allocated by "__ao2_callback_data(cc_core_instances, OBJ_NODATA, count_agents_cb, (char *)caller, &data)" leaks it. FINDING #10 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_followme.c:936: alloc_fn: Calling allocation function "ast_str_create". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/strings.h:405: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/strings.h:405: var_assign: Assigning: "buf" = "_ast_calloc(1UL, sizeof (*buf) /*24*/ + init_len, "/builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/strings.h", 420, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/strings.h:405: return_alloc: Returning allocated memory "buf". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_followme.c:936: var_assign: Assigning: "str" = storage returned from "ast_str_create(16UL)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_followme.c:939: leaked_storage: Variable "str" going out of scope leaks the storage it points to. [core]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_followme.c:943: leaked_storage: Variable "str" going out of scope leaks the storage it points to. [core]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_followme.c:951: leaked_storage: Variable "str" going out of scope leaks the storage it points to. [core]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_followme.c:965: leaked_storage: Variable "str" going out of scope leaks the storage it points to. [core]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_followme.c:987: leaked_storage: Variable "str" going out of scope leaks the storage it points to. FINDING #11 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_followme.c:838: alloc_fn: Calling allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_followme.c:838: var_assign: Assigning: "tmpuser" = storage returned from "_ast_calloc(1UL, sizeof (*tmpuser) /*312*/, "app_followme.c", 838, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_followme.c:903: overwrite_var: Overwriting "tmpuser" in call "tmpuser = NULL" leaks the storage that "tmpuser" points to. FINDING #12 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_followme.c:838: alloc_fn: Calling allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_followme.c:838: var_assign: Assigning: "tmpuser" = storage returned from "_ast_calloc(1UL, sizeof (*tmpuser) /*312*/, "app_followme.c", 838, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_followme.c:838: overwrite_var: Overwriting "tmpuser" in call "tmpuser = _ast_calloc(1UL, sizeof (*tmpuser) /*312*/, "app_followme.c", 838, )" leaks the storage that "tmpuser" points to. FINDING #13 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_followme.c:838: alloc_fn: Calling allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_followme.c:838: var_assign: Assigning: "tmpuser" = storage returned from "_ast_calloc(1UL, sizeof (*tmpuser) /*312*/, "app_followme.c", 838, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_followme.c:830: leaked_storage: Variable "tmpuser" going out of scope leaks the storage it points to. FINDING #14 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_followme.c:1060: alloc_fn: Calling allocation function "find_realtime". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_followme.c:942: alloc_fn: Storage is returned from allocation function "alloc_profile". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_followme.c:221: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_followme.c:221: var_assign: Assigning: "f" = "_ast_calloc(1UL, sizeof (*f) /*24976*/, "app_followme.c", 221, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_followme.c:239: return_alloc: Returning allocated memory "f". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_followme.c:942: var_assign: Assigning: "new" = "alloc_profile(name)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_followme.c:987: return_alloc: Returning allocated memory "new". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_followme.c:1060: var_assign: Assigning: "f" = storage returned from "find_realtime(args.followmeid)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_followme.c:1073: noescape: Variable "f" is not freed or pointed-to in function "__ast_pthread_mutex_lock". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/lock.c:157:81: noescape: "__ast_pthread_mutex_lock" does not free or save its pointer parameter "t". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_followme.c:1091: noescape: Variable "f" is not freed or pointed-to in function "__ast_pthread_mutex_unlock". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/lock.c:363:48: noescape: "__ast_pthread_mutex_unlock" does not free or save its pointer parameter "t". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_followme.c:1171: leaked_storage: Variable "f" going out of scope leaks the storage it points to. FINDING #15 [deprecated]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_meetme.c:4557: alloc_fn: Calling allocation function "__ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: alloc_fn: Storage is returned from allocation function "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: var_assign: Assigning: "multi_iterator" = "_ast_calloc(1UL, sizeof (*multi_iterator) /*40*/, "astobj2.c", 613, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:752: return_alloc: Returning allocated memory "multi_iterator". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: return_alloc_fn: Directly returning storage allocated by "internal_ao2_callback". [deprecated]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_meetme.c:4557: leaked_storage: Failing to save storage allocated by "__ao2_callback(cnf->usercontainer, OBJ_NODATA, user_set_kickme_cb, NULL)" leaks it. FINDING #16 [deprecated]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_meetme.c:4562: alloc_fn: Calling allocation function "__ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: alloc_fn: Storage is returned from allocation function "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: var_assign: Assigning: "multi_iterator" = "_ast_calloc(1UL, sizeof (*multi_iterator) /*40*/, "astobj2.c", 613, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:752: return_alloc: Returning allocated memory "multi_iterator". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: return_alloc_fn: Directly returning storage allocated by "internal_ao2_callback". [deprecated]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_meetme.c:4562: leaked_storage: Failing to save storage allocated by "__ao2_callback(cnf->usercontainer, OBJ_NODATA, user_max_cmp, &max_no)" leaks it. FINDING #17 [deprecated]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_meetme.c:4577: alloc_fn: Calling allocation function "__ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: alloc_fn: Storage is returned from allocation function "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: var_assign: Assigning: "multi_iterator" = "_ast_calloc(1UL, sizeof (*multi_iterator) /*40*/, "astobj2.c", 613, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:752: return_alloc: Returning allocated memory "multi_iterator". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: return_alloc_fn: Directly returning storage allocated by "internal_ao2_callback". [deprecated]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_meetme.c:4577: leaked_storage: Failing to save storage allocated by "__ao2_callback(cnf->usercontainer, OBJ_NODATA, user_set_muted_cb, NULL)" leaks it. FINDING #18 [deprecated]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_meetme.c:4583: alloc_fn: Calling allocation function "__ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: alloc_fn: Storage is returned from allocation function "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: var_assign: Assigning: "multi_iterator" = "_ast_calloc(1UL, sizeof (*multi_iterator) /*40*/, "astobj2.c", 613, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:752: return_alloc: Returning allocated memory "multi_iterator". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: return_alloc_fn: Directly returning storage allocated by "internal_ao2_callback". [deprecated]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_meetme.c:4583: leaked_storage: Failing to save storage allocated by "__ao2_callback(cnf->usercontainer, OBJ_NODATA, user_set_unmuted_cb, NULL)" leaks it. FINDING #19 [deprecated]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_meetme.c:4589: alloc_fn: Calling allocation function "__ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: alloc_fn: Storage is returned from allocation function "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: var_assign: Assigning: "multi_iterator" = "_ast_calloc(1UL, sizeof (*multi_iterator) /*40*/, "astobj2.c", 613, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:752: return_alloc: Returning allocated memory "multi_iterator". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: return_alloc_fn: Directly returning storage allocated by "internal_ao2_callback". [deprecated]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_meetme.c:4589: leaked_storage: Failing to save storage allocated by "__ao2_callback(cnf->usercontainer, OBJ_NODATA, user_listen_voldown_cb, NULL)" leaks it. FINDING #20 [deprecated]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_meetme.c:4592: alloc_fn: Calling allocation function "__ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: alloc_fn: Storage is returned from allocation function "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: var_assign: Assigning: "multi_iterator" = "_ast_calloc(1UL, sizeof (*multi_iterator) /*40*/, "astobj2.c", 613, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:752: return_alloc: Returning allocated memory "multi_iterator". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: return_alloc_fn: Directly returning storage allocated by "internal_ao2_callback". [deprecated]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_meetme.c:4592: leaked_storage: Failing to save storage allocated by "__ao2_callback(cnf->usercontainer, OBJ_NODATA, user_listen_volup_cb, NULL)" leaks it. FINDING #21 [deprecated]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_meetme.c:4595: alloc_fn: Calling allocation function "__ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: alloc_fn: Storage is returned from allocation function "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: var_assign: Assigning: "multi_iterator" = "_ast_calloc(1UL, sizeof (*multi_iterator) /*40*/, "astobj2.c", 613, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:752: return_alloc: Returning allocated memory "multi_iterator". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: return_alloc_fn: Directly returning storage allocated by "internal_ao2_callback". [deprecated]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_meetme.c:4595: leaked_storage: Failing to save storage allocated by "__ao2_callback(cnf->usercontainer, OBJ_NODATA, user_talk_voldown_cb, NULL)" leaks it. FINDING #22 [deprecated]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_meetme.c:4598: alloc_fn: Calling allocation function "__ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: alloc_fn: Storage is returned from allocation function "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: var_assign: Assigning: "multi_iterator" = "_ast_calloc(1UL, sizeof (*multi_iterator) /*40*/, "astobj2.c", 613, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:752: return_alloc: Returning allocated memory "multi_iterator". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: return_alloc_fn: Directly returning storage allocated by "internal_ao2_callback". [deprecated]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_meetme.c:4598: leaked_storage: Failing to save storage allocated by "__ao2_callback(cnf->usercontainer, OBJ_NODATA, user_talk_volup_cb, NULL)" leaks it. FINDING #23 [deprecated]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_meetme.c:4601: alloc_fn: Calling allocation function "__ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: alloc_fn: Storage is returned from allocation function "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: var_assign: Assigning: "multi_iterator" = "_ast_calloc(1UL, sizeof (*multi_iterator) /*40*/, "astobj2.c", 613, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:752: return_alloc: Returning allocated memory "multi_iterator". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: return_alloc_fn: Directly returning storage allocated by "internal_ao2_callback". [deprecated]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_meetme.c:4601: leaked_storage: Failing to save storage allocated by "__ao2_callback(cnf->usercontainer, OBJ_NODATA, user_reset_vol_cb, NULL)" leaks it. FINDING #24 [deprecated]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_meetme.c:4541: alloc_fn: Calling allocation function "find_user". [deprecated]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_meetme.c:4442: alloc_fn: Storage is returned from allocation function "__ao2_find". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:796: alloc_fn: Storage is returned from allocation function "__ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: alloc_fn: Storage is returned from allocation function "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: var_assign: Assigning: "multi_iterator" = "_ast_calloc(1UL, sizeof (*multi_iterator) /*40*/, "astobj2.c", 613, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:752: return_alloc: Returning allocated memory "multi_iterator". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: return_alloc_fn: Directly returning storage allocated by "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:796: return_alloc_fn: Directly returning storage allocated by "__ao2_callback". [deprecated]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_meetme.c:4442: var_assign: Assigning: "user" = "__ao2_find(conf->usercontainer, &cid, (enum search_flags)0)". [deprecated]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_meetme.c:4444: return_alloc: Returning allocated memory "user". [deprecated]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_meetme.c:4541: var_assign: Assigning: "user" = storage returned from "find_user(cnf, args.user)". [deprecated]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_meetme.c:4563: overwrite_var: Overwriting "user" in call "user = __ao2_find(cnf->usercontainer, &max_no, (enum search_flags)0)" leaks the storage that "user" points to. FINDING #25 [deprecated]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_meetme.c:2433: alloc_fn: Calling allocation function "__ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: alloc_fn: Storage is returned from allocation function "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: var_assign: Assigning: "multi_iterator" = "_ast_calloc(1UL, sizeof (*multi_iterator) /*40*/, "astobj2.c", 613, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:752: return_alloc: Returning allocated memory "multi_iterator". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: return_alloc_fn: Directly returning storage allocated by "internal_ao2_callback". [deprecated]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_meetme.c:2433: leaked_storage: Failing to save storage allocated by "__ao2_callback(conf->usercontainer, OBJ_NODATA, user_max_cmp, &user->user_no)" leaks it. FINDING #26 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/data.c:1037: alloc_fn: Calling allocation function "data_search_get_node". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/data.c:972: alloc_fn: Storage is returned from allocation function "data_search_find". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/data.c:728: alloc_fn: Storage is returned from allocation function "__ao2_find". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:796: alloc_fn: Storage is returned from allocation function "__ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: alloc_fn: Storage is returned from allocation function "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: var_assign: Assigning: "multi_iterator" = "_ast_calloc(1UL, sizeof (*multi_iterator) /*40*/, "astobj2.c", 613, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:752: return_alloc: Returning allocated memory "multi_iterator". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: return_alloc_fn: Directly returning storage allocated by "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:796: return_alloc_fn: Directly returning storage allocated by "__ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/data.c:728: var_assign: Assigning: "found" = "__ao2_find(parent, find_node, OBJ_POINTER)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/data.c:733: return_alloc: Returning allocated memory "found". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/data.c:972: var_assign: Assigning: "child" = "data_search_find(current->children, node_name)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/data.c:979: var_assign: Assigning: "current" = "child". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/data.c:983: return_alloc: Returning allocated memory "current". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/data.c:1037: var_assign: Assigning: "child" = storage returned from "data_search_get_node(root, name)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/data.c:1045: leaked_storage: Variable "child" going out of scope leaks the storage it points to. FINDING #27 [deprecated]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_meetme.c:7016: alloc_fn: Calling allocation function "__ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: alloc_fn: Storage is returned from allocation function "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: var_assign: Assigning: "multi_iterator" = "_ast_calloc(1UL, sizeof (*multi_iterator) /*40*/, "astobj2.c", 613, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:752: return_alloc: Returning allocated memory "multi_iterator". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: return_alloc_fn: Directly returning storage allocated by "internal_ao2_callback". [deprecated]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_meetme.c:7016: leaked_storage: Failing to save storage allocated by "__ao2_callback(cnf->usercontainer, OBJ_NODATA, user_add_provider_cb, data_meetme_users)" leaks it. FINDING #28 [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_minivm.c:1237: alloc_fn: Calling allocation function "ast_str_create". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/strings.h:405: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/strings.h:405: var_assign: Assigning: "buf" = "_ast_calloc(1UL, sizeof (*buf) /*24*/ + init_len, "/builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/strings.h", 420, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/strings.h:405: return_alloc: Returning allocated memory "buf". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_minivm.c:1237: var_assign: Assigning: "str1" = storage returned from "ast_str_create(16UL)". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_minivm.c:1258: leaked_storage: Variable "str1" going out of scope leaks the storage it points to. [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_minivm.c:1312: leaked_storage: Variable "str1" going out of scope leaks the storage it points to. FINDING #29 [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_minivm.c:1237: alloc_fn: Calling allocation function "ast_str_create". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/strings.h:405: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/strings.h:405: var_assign: Assigning: "buf" = "_ast_calloc(1UL, sizeof (*buf) /*24*/ + init_len, "/builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/strings.h", 420, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/strings.h:405: return_alloc: Returning allocated memory "buf". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_minivm.c:1237: var_assign: Assigning: "str2" = storage returned from "ast_str_create(16UL)". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_minivm.c:1258: leaked_storage: Variable "str2" going out of scope leaks the storage it points to. [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_minivm.c:1312: leaked_storage: Variable "str2" going out of scope leaks the storage it points to. FINDING #30 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_page.c:239: alloc_fn: Calling allocation function "ast_dial_create". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/dial.c:195: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/dial.c:195: var_assign: Assigning: "dial" = "_ast_calloc(1UL, sizeof (*dial) /*192*/, "dial.c", 195, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/dial.c:211: return_alloc: Returning allocated memory "dial". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_page.c:239: var_assign: Assigning: "dial" = storage returned from "ast_dial_create()". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_page.c:245: noescape: Variable "dial" is not freed or pointed-to in function "ast_dial_append". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/dial.c:218:38: noescape: "ast_dial_append" does not free or save its pointer parameter "dial". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_page.c:247: leaked_storage: Variable "dial" going out of scope leaks the storage it points to. FINDING #31 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_queue.c:2337: alloc_fn: Calling allocation function "__ao2_find". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:796: alloc_fn: Storage is returned from allocation function "__ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: alloc_fn: Storage is returned from allocation function "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: var_assign: Assigning: "multi_iterator" = "_ast_calloc(1UL, sizeof (*multi_iterator) /*40*/, "astobj2.c", 613, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:752: return_alloc: Returning allocated memory "multi_iterator". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: return_alloc_fn: Directly returning storage allocated by "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:796: return_alloc_fn: Directly returning storage allocated by "__ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_queue.c:2337: var_assign: Assigning: "q" = storage returned from "__ao2_find(queues, &tmpq, OBJ_POINTER)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_queue.c:2364: overwrite_var: Overwriting "q" in call "q = find_queue_by_name_rt(queuename, queue_vars, member_config)" leaks the storage that "q" points to. FINDING #32 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_queue.c:1770: alloc_fn: Calling allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_queue.c:1770: var_assign: Assigning: "rule" = storage returned from "_ast_calloc(1UL, sizeof (*rule) /*32*/, "app_queue.c", 1770, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_queue.c:1830: leaked_storage: Variable "rule" going out of scope leaks the storage it points to. FINDING #33 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_queue.c:6720: alloc_fn: Calling allocation function "__ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: alloc_fn: Storage is returned from allocation function "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: var_assign: Assigning: "multi_iterator" = "_ast_calloc(1UL, sizeof (*multi_iterator) /*40*/, "astobj2.c", 613, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:752: return_alloc: Returning allocated memory "multi_iterator". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: return_alloc_fn: Directly returning storage allocated by "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_queue.c:6720: leaked_storage: Failing to save storage allocated by "__ao2_callback(q->members, OBJ_NODATA, mark_member_dead, NULL)" leaks it. FINDING #34 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_queue.c:6741: alloc_fn: Calling allocation function "__ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: alloc_fn: Storage is returned from allocation function "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: var_assign: Assigning: "multi_iterator" = "_ast_calloc(1UL, sizeof (*multi_iterator) /*40*/, "astobj2.c", 613, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:752: return_alloc: Returning allocated memory "multi_iterator". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: return_alloc_fn: Directly returning storage allocated by "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_queue.c:6741: leaked_storage: Failing to save storage allocated by "__ao2_callback(q->members, (enum search_flags)7, kill_dead_members, q)" leaks it. FINDING #35 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_queue.c:6810: alloc_fn: Calling allocation function "__ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: alloc_fn: Storage is returned from allocation function "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: var_assign: Assigning: "multi_iterator" = "_ast_calloc(1UL, sizeof (*multi_iterator) /*40*/, "astobj2.c", 613, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:752: return_alloc: Returning allocated memory "multi_iterator". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: return_alloc_fn: Directly returning storage allocated by "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_queue.c:6810: leaked_storage: Failing to save storage allocated by "__ao2_callback(queues, OBJ_NODATA, mark_dead_and_unfound, (char *)queuename)" leaks it. FINDING #36 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_queue.c:6827: alloc_fn: Calling allocation function "__ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: alloc_fn: Storage is returned from allocation function "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: var_assign: Assigning: "multi_iterator" = "_ast_calloc(1UL, sizeof (*multi_iterator) /*40*/, "astobj2.c", 613, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:752: return_alloc: Returning allocated memory "multi_iterator". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: return_alloc_fn: Directly returning storage allocated by "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_queue.c:6827: leaked_storage: Failing to save storage allocated by "__ao2_callback(queues, (enum search_flags)7, kill_dead_queues, (char *)queuename)" leaks it. FINDING #37 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_queue.c:4239: alloc_fn: Calling allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_queue.c:4239: var_assign: Assigning: "qtds" = storage returned from "_ast_calloc(1UL, sizeof (*qtds) /*32*/, "app_queue.c", 4239, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_queue.c:4250: leaked_storage: Variable "qtds" going out of scope leaks the storage it points to. FINDING #38 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_record.c:300: alloc_fn: Calling allocation function "ast_dsp_new". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/dsp.c:1527: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/dsp.c:1527: var_assign: Assigning: "dsp" = "_ast_calloc(1UL, sizeof (*dsp) /*1480*/, "dsp.c", 1527, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/dsp.c:1537: noescape: Variable "dsp" is not freed or pointed-to in function "ast_dsp_prog_reset". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/dsp.c:1506:48: noescape: "ast_dsp_prog_reset" does not free or save its pointer parameter "dsp". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/dsp.c:1539: noescape: Variable "dsp" is not freed or pointed-to in function "ast_fax_detect_init". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/dsp.c:474:49: noescape: "ast_fax_detect_init" does not free or save its pointer parameter "s". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/dsp.c:1541: return_alloc: Returning allocated memory "dsp". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_record.c:300: var_assign: Assigning: "sildet" = storage returned from "ast_dsp_new()". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_record.c:306: noescape: Variable "sildet" is not freed or pointed-to in function "ast_dsp_set_threshold". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/dsp.c:1557:44: noescape: "ast_dsp_set_threshold" does not free or save its pointer parameter "dsp". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_record.c:360: noescape: Variable "sildet" is not freed or pointed-to in function "ast_dsp_silence". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/dsp.c:1272:37: noescape: "ast_dsp_silence" does not free or save its pointer parameter "dsp". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_record.c:423: leaked_storage: Variable "sildet" going out of scope leaks the storage it points to. FINDING #39 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_odbc.c:1208: alloc_fn: Calling allocation function "__ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: alloc_fn: Storage is returned from allocation function "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: var_assign: Assigning: "multi_iterator" = "_ast_calloc(1UL, sizeof (*multi_iterator) /*40*/, "astobj2.c", 613, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:752: return_alloc: Returning allocated memory "multi_iterator". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: return_alloc_fn: Directly returning storage allocated by "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_odbc.c:1208: var_assign: Assigning: "class" = storage returned from "__ao2_callback(class_container, (enum search_flags)0, aoro2_class_cb, (char *)name)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_odbc.c:1386: leaked_storage: Variable "class" going out of scope leaks the storage it points to. FINDING #40 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_voicemail.c:11434: alloc_fn: Calling allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_voicemail.c:11434: var_assign: Assigning: "uniqueid" = storage returned from "_ast_calloc(1UL, sizeof (*uniqueid) /*4*/, "app_voicemail.c", 11434, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_voicemail.c:11436: leaked_storage: Variable "uniqueid" going out of scope leaks the storage it points to. [core]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_voicemail.c:11439: leaked_storage: Variable "uniqueid" going out of scope leaks the storage it points to. FINDING #41 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_voicemail.c:12411: alloc_fn: Calling allocation function "ast_category_new". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/config.c:489: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/config.c:489: var_assign: Assigning: "category" = "_ast_calloc(1UL, sizeof (*category) /*168*/, "config.c", 489, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/config.c:493: return_alloc: Returning allocated memory "category". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_voicemail.c:12411: var_assign: Assigning: "cat" = storage returned from "ast_category_new("general", "", 1)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_voicemail.c:12417: leaked_storage: Variable "cat" going out of scope leaks the storage it points to. FINDING #42 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_voicemail.c:12407: alloc_fn: Calling allocation function "ast_config_new". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/config.c:679: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/config.c:679: var_assign: Assigning: "config" = "_ast_calloc(1UL, sizeof (*config) /*48*/, "config.c", 679, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/config.c:681: return_alloc: Returning allocated memory "config". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_voicemail.c:12407: var_assign: Assigning: "conf" = storage returned from "ast_config_new()". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_voicemail.c:12417: leaked_storage: Variable "conf" going out of scope leaks the storage it points to. [core]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_voicemail.c:12419: noescape: Variable "conf" is not freed or pointed-to in function "ast_category_append". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/config.c:524:45: noescape: "ast_category_append" does not free or save its pointer parameter "config". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_voicemail.c:12421: noescape: Variable "conf" is not freed or pointed-to in function "ast_config_text_file_save". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/config.c:1606:80: noescape: "ast_config_text_file_save" does not free or save its pointer parameter "cfg". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_voicemail.c:12423: leaked_storage: Variable "conf" going out of scope leaks the storage it points to. [core]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_voicemail.c:12425: leaked_storage: Variable "conf" going out of scope leaks the storage it points to. FINDING #43 [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_console.c:1413: alloc_fn: Calling allocation function "__ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: alloc_fn: Storage is returned from allocation function "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: var_assign: Assigning: "multi_iterator" = "_ast_calloc(1UL, sizeof (*multi_iterator) /*40*/, "astobj2.c", 613, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:752: return_alloc: Returning allocated memory "multi_iterator". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: return_alloc_fn: Directly returning storage allocated by "internal_ao2_callback". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_console.c:1413: leaked_storage: Failing to save storage allocated by "__ao2_callback(pvts, OBJ_NODATA, pvt_mark_destroy_cb, NULL)" leaks it. FINDING #44 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/ccss.c:4094: alloc_fn: Calling allocation function "__ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: alloc_fn: Storage is returned from allocation function "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: var_assign: Assigning: "multi_iterator" = "_ast_calloc(1UL, sizeof (*multi_iterator) /*40*/, "astobj2.c", 613, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:752: return_alloc: Returning allocated memory "multi_iterator". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: return_alloc_fn: Directly returning storage allocated by "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/ccss.c:4094: leaked_storage: Failing to save storage allocated by "__ao2_callback(cc_core_instances, OBJ_NODATA, count_monitors_cb, &data)" leaks it. FINDING #45 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_dahdi.c:9047: alloc_fn: Calling allocation function "ast_dsp_process". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/dsp.c:1368: alloc_fn: Storage is returned from allocation function "ast_frisolate". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/frame.c:407: alloc_fn: Storage is returned from allocation function "ast_frame_header_new". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/frame.c:312: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/frame.c:312: var_assign: Assigning: "f" = "_ast_calloc(1UL, sizeof (*f) /*120*/, "frame.c", 312, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/frame.c:321: return_alloc: Returning allocated memory "f". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/frame.c:407: var_assign: Assigning: "out" = "ast_frame_header_new()". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/frame.c:443: return_alloc: Returning allocated memory "out". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/dsp.c:1368: return_alloc_fn: Directly returning storage allocated by "ast_frisolate". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_dahdi.c:9047: var_assign: Assigning: "f" = storage returned from "ast_dsp_process(ast, p->dsp, &p->subs[idx].f)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_dahdi.c:9061: overwrite_var: Overwriting "f" in call "f = NULL" leaks the storage that "f" points to. FINDING #46 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_dahdi.c:9047: alloc_fn: Calling allocation function "ast_dsp_process". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/dsp.c:1368: alloc_fn: Storage is returned from allocation function "ast_frisolate". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/frame.c:407: alloc_fn: Storage is returned from allocation function "ast_frame_header_new". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/frame.c:312: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/frame.c:312: var_assign: Assigning: "f" = "_ast_calloc(1UL, sizeof (*f) /*120*/, "frame.c", 312, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/frame.c:321: return_alloc: Returning allocated memory "f". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/frame.c:407: var_assign: Assigning: "out" = "ast_frame_header_new()". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/frame.c:443: return_alloc: Returning allocated memory "out". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/dsp.c:1368: return_alloc_fn: Directly returning storage allocated by "ast_frisolate". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_dahdi.c:9047: var_assign: Assigning: "f" = storage returned from "ast_dsp_process(ast, p->dsp, &p->subs[idx].f)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_dahdi.c:9086: overwrite_var: Overwriting "f" in call "f = NULL" leaks the storage that "f" points to. FINDING #47 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/acl.c:571: alloc_arg: Calling allocation function "ast_sockaddr_resolve" on "addrs". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/netsock2.c:273: alloc_fn: Storage is returned from allocation function "_ast_malloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:457: alloc_fn: Storage is returned from allocation function "malloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:457: var_assign: Assigning: "p" = "malloc(len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:457: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/netsock2.c:273: var_assign: Assigning: "*addrs" = "_ast_malloc(res_cnt * sizeof (struct ast_sockaddr) /*136*/, "netsock2.c", 273, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/acl.c:580: leaked_storage: Variable "addrs" going out of scope leaks the storage it points to. FINDING #48 [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_gtalk.c:827: alloc_arg: Calling allocation function "ast_sockaddr_resolve" on "addrs". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/netsock2.c:273: alloc_fn: Storage is returned from allocation function "_ast_malloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:457: alloc_fn: Storage is returned from allocation function "malloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:457: var_assign: Assigning: "p" = "malloc(len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:457: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/netsock2.c:273: var_assign: Assigning: "*addrs" = "_ast_malloc(res_cnt * sizeof (struct ast_sockaddr) /*136*/, "netsock2.c", 273, )". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_gtalk.c:836: leaked_storage: Variable "addrs" going out of scope leaks the storage it points to. FINDING #49 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_iax2.c:12844: alloc_fn: Calling allocation function "__ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: alloc_fn: Storage is returned from allocation function "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: var_assign: Assigning: "multi_iterator" = "_ast_calloc(1UL, sizeof (*multi_iterator) /*40*/, "astobj2.c", 613, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:752: return_alloc: Returning allocated memory "multi_iterator". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: return_alloc_fn: Directly returning storage allocated by "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_iax2.c:12844: leaked_storage: Failing to save storage allocated by "__ao2_callback(users, (enum search_flags)0, user_delme_cb, NULL)" leaks it. FINDING #50 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_iax2.c:12866: alloc_fn: Calling allocation function "__ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: alloc_fn: Storage is returned from allocation function "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: var_assign: Assigning: "multi_iterator" = "_ast_calloc(1UL, sizeof (*multi_iterator) /*40*/, "astobj2.c", 613, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:752: return_alloc: Returning allocated memory "multi_iterator". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: return_alloc_fn: Directly returning storage allocated by "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_iax2.c:12866: leaked_storage: Failing to save storage allocated by "__ao2_callback(peers, (enum search_flags)0, peer_delme_cb, NULL)" leaks it. FINDING #51 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_iax2.c:9749: alloc_fn: Calling allocation function "__ast_datastore_alloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/datastore.c:46: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/datastore.c:46: var_assign: Assigning: "datastore" = "_ast_calloc(1UL, sizeof (*datastore) /*40*/, "datastore.c", 46, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/datastore.c:58: return_alloc: Returning allocated memory "datastore". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_iax2.c:9749: var_assign: Assigning: "variablestore" = storage returned from "__ast_datastore_alloc(&iax2_variable_datastore_info, NULL, "chan_iax2.c", 9749, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_iax2.c:9757: leaked_storage: Variable "variablestore" going out of scope leaks the storage it points to. FINDING #52 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_iax2.c:12912: alloc_fn: Calling allocation function "__ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: alloc_fn: Storage is returned from allocation function "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: var_assign: Assigning: "multi_iterator" = "_ast_calloc(1UL, sizeof (*multi_iterator) /*40*/, "astobj2.c", 613, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:752: return_alloc: Returning allocated memory "multi_iterator". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: return_alloc_fn: Directly returning storage allocated by "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_iax2.c:12912: leaked_storage: Failing to save storage allocated by "__ao2_callback(callno_limits, OBJ_NODATA, addr_range_delme_cb, NULL)" leaks it. FINDING #53 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_iax2.c:12913: alloc_fn: Calling allocation function "__ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: alloc_fn: Storage is returned from allocation function "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: var_assign: Assigning: "multi_iterator" = "_ast_calloc(1UL, sizeof (*multi_iterator) /*40*/, "astobj2.c", 613, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:752: return_alloc: Returning allocated memory "multi_iterator". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: return_alloc_fn: Directly returning storage allocated by "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_iax2.c:12913: leaked_storage: Failing to save storage allocated by "__ao2_callback(calltoken_ignores, OBJ_NODATA, addr_range_delme_cb, NULL)" leaks it. FINDING #54 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_iax2.c:13408: alloc_fn: Calling allocation function "__ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: alloc_fn: Storage is returned from allocation function "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: var_assign: Assigning: "multi_iterator" = "_ast_calloc(1UL, sizeof (*multi_iterator) /*40*/, "astobj2.c", 613, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:752: return_alloc: Returning allocated memory "multi_iterator". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: return_alloc_fn: Directly returning storage allocated by "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_iax2.c:13408: leaked_storage: Failing to save storage allocated by "__ao2_callback(callno_limits, (enum search_flags)7, prune_addr_range_cb, NULL)" leaks it. FINDING #55 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_iax2.c:13409: alloc_fn: Calling allocation function "__ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: alloc_fn: Storage is returned from allocation function "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: var_assign: Assigning: "multi_iterator" = "_ast_calloc(1UL, sizeof (*multi_iterator) /*40*/, "astobj2.c", 613, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:752: return_alloc: Returning allocated memory "multi_iterator". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: return_alloc_fn: Directly returning storage allocated by "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_iax2.c:13409: leaked_storage: Failing to save storage allocated by "__ao2_callback(calltoken_ignores, (enum search_flags)7, prune_addr_range_cb, NULL)" leaks it. FINDING #56 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_iax2.c:13410: alloc_fn: Calling allocation function "__ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: alloc_fn: Storage is returned from allocation function "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: var_assign: Assigning: "multi_iterator" = "_ast_calloc(1UL, sizeof (*multi_iterator) /*40*/, "astobj2.c", 613, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:752: return_alloc: Returning allocated memory "multi_iterator". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: return_alloc_fn: Directly returning storage allocated by "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_iax2.c:13410: leaked_storage: Failing to save storage allocated by "__ao2_callback(peercnts, OBJ_NODATA, set_peercnt_limit_all_cb, NULL)" leaks it. FINDING #57 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_iax2.c:6838: alloc_fn: Calling allocation function "find_peer". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_iax2.c:1692: alloc_fn: Storage is returned from allocation function "__ao2_find". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:796: alloc_fn: Storage is returned from allocation function "__ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: alloc_fn: Storage is returned from allocation function "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: var_assign: Assigning: "multi_iterator" = "_ast_calloc(1UL, sizeof (*multi_iterator) /*40*/, "astobj2.c", 613, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:752: return_alloc: Returning allocated memory "multi_iterator". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: return_alloc_fn: Directly returning storage allocated by "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:796: return_alloc_fn: Directly returning storage allocated by "__ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_iax2.c:1692: var_assign: Assigning: "peer" = "__ao2_find(peers, &tmp_peer, OBJ_POINTER)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_iax2.c:1698: return_alloc: Returning allocated memory "peer". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_iax2.c:6838: var_assign: Assigning: "p" = storage returned from "find_peer(a->argv[2], 1)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_iax2.c:6860: leaked_storage: Variable "p" going out of scope leaks the storage it points to. FINDING #58 [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_mgcp.c:3976: alloc_fn: Calling allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_mgcp.c:3976: var_assign: Assigning: "gw" = storage returned from "_ast_calloc(1UL, sizeof (*gw) /*272*/, "chan_mgcp.c", 3976, )". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_mgcp.c:3984: noescape: Variable "gw" is not freed or pointed-to in function "__ast_pthread_mutex_init". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/lock.c:45:44: noescape: "__ast_pthread_mutex_init" does not free or save its pointer parameter "t". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_mgcp.c:3995: noescape: Variable "gw" is not freed or pointed-to in function "memset". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_mgcp.c:4335: leaked_storage: Variable "gw" going out of scope leaks the storage it points to. FINDING #59 [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_mgcp.c:4241: alloc_fn: Calling allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_mgcp.c:4241: var_assign: Assigning: "e" = storage returned from "_ast_calloc(1UL, sizeof (*e) /*1480*/, "chan_mgcp.c", 4241, )". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_mgcp.c:4247: noescape: Variable "e" is not freed or pointed-to in function "__ast_pthread_mutex_init". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/lock.c:45:44: noescape: "__ast_pthread_mutex_init" does not free or save its pointer parameter "t". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_mgcp.c:4248: noescape: Variable "e" is not freed or pointed-to in function "__ast_pthread_mutex_init". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_mgcp.c:4249: noescape: Variable "e" is not freed or pointed-to in function "__ast_pthread_mutex_init". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_mgcp.c:4335: leaked_storage: Variable "e" going out of scope leaks the storage it points to. FINDING #60 [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_phone.c:1034: leaked_storage: Variable "fds" going out of scope leaks the storage it points to. [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_phone.c:1045: alloc_fn: Calling allocation function "_ast_realloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:516: alloc_fn: Storage is returned from allocation function "realloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:516: var_assign: Assigning: "newp" = "realloc(p, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:516: return_alloc: Returning allocated memory "newp". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_phone.c:1045: var_assign: Assigning: "tmp" = storage returned from "_ast_realloc(fds, (nfds + 1) * sizeof (*fds) /*8*/, "chan_phone.c", 1045, )". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_phone.c:1050: var_assign: Assigning: "fds" = "tmp". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_phone.c:1052: leaked_storage: Variable "tmp" going out of scope leaks the storage it points to. [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_phone.c:1086: noescape: Variable "fds" is not freed or pointed-to in function "poll". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_phone.c:1136: leaked_storage: Variable "fds" going out of scope leaks the storage it points to. FINDING #61 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_sip.c:28852: alloc_arg: Calling allocation function "ast_sockaddr_resolve" on "addrs". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/netsock2.c:273: alloc_fn: Storage is returned from allocation function "_ast_malloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:457: alloc_fn: Storage is returned from allocation function "malloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:457: var_assign: Assigning: "p" = "malloc(len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:457: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/netsock2.c:273: var_assign: Assigning: "*addrs" = "_ast_malloc(res_cnt * sizeof (struct ast_sockaddr) /*136*/, "netsock2.c", 273, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_sip.c:28854: leaked_storage: Variable "addrs" going out of scope leaks the storage it points to. FINDING #62 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_sip.c:16115: alloc_fn: Calling allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_sip.c:16115: var_assign: Assigning: "peerarray" = storage returned from "_ast_calloc(sizeof (struct sip_peer *) /*8*/, objcount, "chan_sip.c", 16115, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_sip.c:16127: leaked_storage: Variable "peerarray" going out of scope leaks the storage it points to. [core]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_sip.c:16130: leaked_storage: Variable "peerarray" going out of scope leaks the storage it points to. [core]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_sip.c:16134: leaked_storage: Variable "peerarray" going out of scope leaks the storage it points to. FINDING #63 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_sip.c:19822: alloc_fn: Calling allocation function "__ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: alloc_fn: Storage is returned from allocation function "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: var_assign: Assigning: "multi_iterator" = "_ast_calloc(1UL, sizeof (*multi_iterator) /*40*/, "astobj2.c", 613, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:752: return_alloc: Returning allocated memory "multi_iterator". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: return_alloc_fn: Directly returning storage allocated by "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_sip.c:19822: var_assign: Assigning: "monitor_instance" = storage returned from "__ao2_callback(sip_monitor_instances, (enum search_flags)0, find_sip_monitor_instance_by_subscription_pvt, p)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_sip.c:19829: leaked_storage: Variable "monitor_instance" going out of scope leaks the storage it points to. FINDING #64 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_sip.c:2871: alloc_fn: Calling allocation function "__ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: alloc_fn: Storage is returned from allocation function "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: var_assign: Assigning: "multi_iterator" = "_ast_calloc(1UL, sizeof (*multi_iterator) /*40*/, "astobj2.c", 613, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:752: return_alloc: Returning allocated memory "multi_iterator". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: return_alloc_fn: Directly returning storage allocated by "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_sip.c:2871: leaked_storage: Failing to save storage allocated by "__ao2_callback(peers, (enum search_flags)7, match_and_cleanup_peer_sched, &flag)" leaks it. FINDING #65 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_sip.c:2873: alloc_fn: Calling allocation function "__ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: alloc_fn: Storage is returned from allocation function "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: var_assign: Assigning: "multi_iterator" = "_ast_calloc(1UL, sizeof (*multi_iterator) /*40*/, "astobj2.c", 613, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:752: return_alloc: Returning allocated memory "multi_iterator". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: return_alloc_fn: Directly returning storage allocated by "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_sip.c:2873: leaked_storage: Failing to save storage allocated by "__ao2_callback(peers_by_ip, (enum search_flags)7, match_and_cleanup_peer_sched, &flag)" leaks it. FINDING #66 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_sip.c:25065: alloc_fn: Calling allocation function "__ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: alloc_fn: Storage is returned from allocation function "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: var_assign: Assigning: "multi_iterator" = "_ast_calloc(1UL, sizeof (*multi_iterator) /*40*/, "astobj2.c", 613, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:752: return_alloc: Returning allocated memory "multi_iterator". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: return_alloc_fn: Directly returning storage allocated by "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_sip.c:25065: leaked_storage: Failing to save storage allocated by "__ao2_callback(dialogs, (enum search_flags)7, dialog_needdestroy, &t)" leaks it. FINDING #67 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_sip.c:7251: alloc_fn: Calling allocation function "sip_rtp_read". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_sip.c:7222: alloc_fn: Storage is returned from allocation function "ast_dsp_process". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/dsp.c:1368: alloc_fn: Storage is returned from allocation function "ast_frisolate". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/frame.c:407: alloc_fn: Storage is returned from allocation function "ast_frame_header_new". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/frame.c:312: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/frame.c:312: var_assign: Assigning: "f" = "_ast_calloc(1UL, sizeof (*f) /*120*/, "frame.c", 312, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/frame.c:321: return_alloc: Returning allocated memory "f". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/frame.c:407: var_assign: Assigning: "out" = "ast_frame_header_new()". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/frame.c:443: return_alloc: Returning allocated memory "out". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/dsp.c:1368: return_alloc_fn: Directly returning storage allocated by "ast_frisolate". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_sip.c:7222: var_assign: Assigning: "f" = "ast_dsp_process(p->owner, p->dsp, f)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_sip.c:7240: return_alloc: Returning allocated memory "f". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_sip.c:7251: var_assign: Assigning: "fr" = storage returned from "sip_rtp_read(ast, p, &faxdetected)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_sip.c:7274: overwrite_var: Overwriting "fr" in call "fr = &ast_null_frame" leaks the storage that "fr" points to. FINDING #68 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_sip.c:7251: alloc_fn: Calling allocation function "sip_rtp_read". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_sip.c:7222: alloc_fn: Storage is returned from allocation function "ast_dsp_process". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/dsp.c:1368: alloc_fn: Storage is returned from allocation function "ast_frisolate". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/frame.c:407: alloc_fn: Storage is returned from allocation function "ast_frame_header_new". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/frame.c:312: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/frame.c:312: var_assign: Assigning: "f" = "_ast_calloc(1UL, sizeof (*f) /*120*/, "frame.c", 312, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/frame.c:321: return_alloc: Returning allocated memory "f". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/frame.c:407: var_assign: Assigning: "out" = "ast_frame_header_new()". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/frame.c:443: return_alloc: Returning allocated memory "out". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/dsp.c:1368: return_alloc_fn: Directly returning storage allocated by "ast_frisolate". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_sip.c:7222: var_assign: Assigning: "f" = "ast_dsp_process(p->owner, p->dsp, f)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_sip.c:7240: return_alloc: Returning allocated memory "f". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_sip.c:7251: var_assign: Assigning: "fr" = storage returned from "sip_rtp_read(ast, p, &faxdetected)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_sip.c:7285: overwrite_var: Overwriting "fr" in call "fr = &ast_null_frame" leaks the storage that "fr" points to. FINDING #69 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_sip.c:17763: alloc_fn: Calling allocation function "__ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: alloc_fn: Storage is returned from allocation function "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: var_assign: Assigning: "multi_iterator" = "_ast_calloc(1UL, sizeof (*multi_iterator) /*40*/, "astobj2.c", 613, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:752: return_alloc: Returning allocated memory "multi_iterator". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: return_alloc_fn: Directly returning storage allocated by "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_sip.c:17763: leaked_storage: Failing to save storage allocated by "__ao2_callback(dialogs, OBJ_NODATA, show_channels_cb, &arg)" leaks it. FINDING #70 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_sip.c:17386: alloc_fn: Calling allocation function "__ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: alloc_fn: Storage is returned from allocation function "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: var_assign: Assigning: "multi_iterator" = "_ast_calloc(1UL, sizeof (*multi_iterator) /*40*/, "astobj2.c", 613, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:752: return_alloc: Returning allocated memory "multi_iterator". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: return_alloc_fn: Directly returning storage allocated by "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_sip.c:17386: leaked_storage: Failing to save storage allocated by "__ao2_callback(dialogs, OBJ_NODATA, show_chanstats_cb, &arg)" leaks it. FINDING #71 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_sip.c:16304: alloc_fn: Calling allocation function "__ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: alloc_fn: Storage is returned from allocation function "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: var_assign: Assigning: "multi_iterator" = "_ast_calloc(1UL, sizeof (*multi_iterator) /*40*/, "astobj2.c", 613, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:752: return_alloc: Returning allocated memory "multi_iterator". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: return_alloc_fn: Directly returning storage allocated by "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_sip.c:16304: leaked_storage: Failing to save storage allocated by "__ao2_callback(peers, OBJ_NODATA, peer_dump_func, a)" leaks it. FINDING #72 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_sip.c:16306: alloc_fn: Calling allocation function "__ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: alloc_fn: Storage is returned from allocation function "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: var_assign: Assigning: "multi_iterator" = "_ast_calloc(1UL, sizeof (*multi_iterator) /*40*/, "astobj2.c", 613, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:752: return_alloc: Returning allocated memory "multi_iterator". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: return_alloc_fn: Directly returning storage allocated by "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_sip.c:16306: leaked_storage: Failing to save storage allocated by "__ao2_callback(peers_by_ip, OBJ_NODATA, peer_dump_func, a)" leaks it. FINDING #73 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_sip.c:16310: alloc_fn: Calling allocation function "__ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: alloc_fn: Storage is returned from allocation function "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: var_assign: Assigning: "multi_iterator" = "_ast_calloc(1UL, sizeof (*multi_iterator) /*40*/, "astobj2.c", 613, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:752: return_alloc: Returning allocated memory "multi_iterator". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: return_alloc_fn: Directly returning storage allocated by "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_sip.c:16310: leaked_storage: Failing to save storage allocated by "__ao2_callback(dialogs, OBJ_NODATA, dialog_dump_func, a)" leaks it. FINDING #74 [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_skinny.c:4757: alloc_fn: Calling allocation function "req_alloc". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_skinny.c:1556: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_skinny.c:1556: var_assign: Assigning: "req" = "_ast_calloc(1UL, skinny_header_size + size + 4UL, "chan_skinny.c", 1556, )". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_skinny.c:1562: return_alloc: Returning allocated memory "req". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_skinny.c:4757: var_assign: Assigning: "req" = storage returned from "req_alloc(sizeof (struct register_rej_message) /*33*/, 157)". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_skinny.c:4768: leaked_storage: Returning without freeing "req"leaks the storage that it points to. [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_skinny.c:4772: noescape: Variable "req" is not freed or pointed-to in function "memcpy". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_skinny.c:4783: leaked_storage: Returning without freeing "req"leaks the storage that it points to. FINDING #75 [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_unistim.c:5121: alloc_fn: Calling allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_unistim.c:5121: var_assign: Assigning: "l" = storage returned from "_ast_calloc(1UL, sizeof (*l) /*888*/, "chan_unistim.c", 5121, )". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_unistim.c:5382: leaked_storage: Variable "l" going out of scope leaks the storage it points to. FINDING #76 [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_usbradio.c:2085: alloc_fn: Calling allocation function "ast_dsp_process". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/dsp.c:1368: alloc_fn: Storage is returned from allocation function "ast_frisolate". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/frame.c:407: alloc_fn: Storage is returned from allocation function "ast_frame_header_new". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/frame.c:312: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/frame.c:312: var_assign: Assigning: "f" = "_ast_calloc(1UL, sizeof (*f) /*120*/, "frame.c", 312, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/frame.c:321: return_alloc: Returning allocated memory "f". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/frame.c:407: var_assign: Assigning: "out" = "ast_frame_header_new()". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/frame.c:443: return_alloc: Returning allocated memory "out". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/dsp.c:1368: return_alloc_fn: Directly returning storage allocated by "ast_frisolate". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_usbradio.c:2085: var_assign: Assigning: "f1" = storage returned from "ast_dsp_process(c, o->dsp, f)". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_usbradio.c:2100: leaked_storage: Variable "f1" going out of scope leaks the storage it points to. FINDING #77 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/sip/config_parser.c:534: alloc_fn: Calling allocation function "__ast_calloc_with_stringfields". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/utils.c:1825: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/utils.c:1825: var_assign: Assigning: "allocation" = "_ast_calloc(num_structs, size_to_alloc, "utils.c", 1825, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/utils.c:1853: return_alloc: Returning allocated memory "allocation". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/sip/config_parser.c:534: var_assign: Assigning: "reg" = storage returned from "__ast_calloc_with_stringfields(1U, sizeof (struct sip_registry) /*704*/, 200UL, 80UL, 256UL, "sip/config_parser.c", 534, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/sip/config_parser.c:536: noescape: Variable "reg" is not freed or pointed-to in function "sip_parse_register_line". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/sip/config_parser.c:35:50: noescape: "sip_parse_register_line" does not free or save its pointer parameter "reg". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/sip/config_parser.c:561: overwrite_var: Overwriting "reg" in call "reg = __ast_calloc_with_stringfields(1U, sizeof (struct sip_registry) /*704*/, 200UL, 80UL, 256UL, "sip/config_parser.c", 561, )" leaks the storage that "reg" points to. FINDING #78 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/sip/config_parser.c:561: alloc_fn: Calling allocation function "__ast_calloc_with_stringfields". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/utils.c:1825: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/utils.c:1825: var_assign: Assigning: "allocation" = "_ast_calloc(num_structs, size_to_alloc, "utils.c", 1825, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/utils.c:1853: return_alloc: Returning allocated memory "allocation". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/sip/config_parser.c:561: var_assign: Assigning: "reg" = storage returned from "__ast_calloc_with_stringfields(1U, sizeof (struct sip_registry) /*704*/, 200UL, 80UL, 256UL, "sip/config_parser.c", 561, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/sip/config_parser.c:563: noescape: Variable "reg" is not freed or pointed-to in function "sip_parse_register_line". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/sip/config_parser.c:35:50: noescape: "sip_parse_register_line" does not free or save its pointer parameter "reg". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/sip/config_parser.c:588: overwrite_var: Overwriting "reg" in call "reg = __ast_calloc_with_stringfields(1U, sizeof (struct sip_registry) /*704*/, 200UL, 80UL, 256UL, "sip/config_parser.c", 588, )" leaks the storage that "reg" points to. FINDING #79 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/funcs/func_curl.c:450: alloc_fn: Calling allocation function "ast_str_create". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/strings.h:405: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/strings.h:405: var_assign: Assigning: "buf" = "_ast_calloc(1UL, sizeof (*buf) /*24*/ + init_len, "/builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/strings.h", 420, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/strings.h:405: return_alloc: Returning allocated memory "buf". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/funcs/func_curl.c:450: var_assign: Assigning: "str" = storage returned from "ast_str_create(16UL)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/funcs/func_curl.c:484: leaked_storage: Variable "str" going out of scope leaks the storage it points to. FINDING #80 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/funcs/func_dialgroup.c:132: alloc_fn: Calling allocation function "__ao2_find". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:796: alloc_fn: Storage is returned from allocation function "__ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: alloc_fn: Storage is returned from allocation function "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: var_assign: Assigning: "multi_iterator" = "_ast_calloc(1UL, sizeof (*multi_iterator) /*40*/, "astobj2.c", 613, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:752: return_alloc: Returning allocated memory "multi_iterator". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: return_alloc_fn: Directly returning storage allocated by "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:796: return_alloc_fn: Directly returning storage allocated by "__ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/funcs/func_dialgroup.c:132: var_assign: Assigning: "grhead" = storage returned from "__ao2_find(group_container, data, (enum search_flags)0)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/funcs/func_dialgroup.c:169: leaked_storage: Variable "grhead" going out of scope leaks the storage it points to. FINDING #81 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/enum.c:671: alloc_fn: Calling allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/enum.c:671: var_assign: Assigning: "context" = storage returned from "_ast_calloc(1UL, sizeof (*context) /*88*/, "enum.c", 671, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/enum.c:793: leaked_storage: Variable "context" going out of scope leaks the storage it points to. [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/enum.c:805: leaked_storage: Variable "context" going out of scope leaks the storage it points to. [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/enum.c:822: leaked_storage: Variable "context" going out of scope leaks the storage it points to. FINDING #82 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/funcs/func_odbc.c:489: alloc_fn: Calling allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/funcs/func_odbc.c:489: var_assign: Assigning: "resultset" = storage returned from "_ast_calloc(1UL, sizeof (*resultset) /*72*/, "func_odbc.c", 489, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/funcs/func_odbc.c:495: noescape: Variable "resultset" is not freed or pointed-to in function "__ast_pthread_mutex_init". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/lock.c:45:44: noescape: "__ast_pthread_mutex_init" does not free or save its pointer parameter "t". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/funcs/func_odbc.c:556: leaked_storage: Variable "resultset" going out of scope leaks the storage it points to. [core]: /builddir/build/BUILD/asterisk-1.8.6.0/funcs/func_odbc.c:581: leaked_storage: Variable "resultset" going out of scope leaks the storage it points to. FINDING #83 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/funcs/func_odbc.c:505: alloc_fn: Calling allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/funcs/func_odbc.c:505: var_assign: Assigning: "resultset" = storage returned from "_ast_calloc(1UL, sizeof (*resultset) /*72*/, "func_odbc.c", 505, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/funcs/func_odbc.c:511: noescape: Variable "resultset" is not freed or pointed-to in function "__ast_pthread_mutex_init". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/lock.c:45:44: noescape: "__ast_pthread_mutex_init" does not free or save its pointer parameter "t". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/funcs/func_odbc.c:556: leaked_storage: Variable "resultset" going out of scope leaks the storage it points to. [core]: /builddir/build/BUILD/asterisk-1.8.6.0/funcs/func_odbc.c:581: leaked_storage: Variable "resultset" going out of scope leaks the storage it points to. FINDING #84 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/funcs/func_speex.c:211: alloc_fn: Calling allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/funcs/func_speex.c:211: var_assign: Assigning: "si" = storage returned from "_ast_calloc(1UL, sizeof (*si) /*5464*/, "func_speex.c", 211, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/funcs/func_speex.c:216: noescape: Variable "si" is not freed or pointed-to in function "ast_audiohook_init". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/audiohook.c:60:46: noescape: "ast_audiohook_init" does not free or save its pointer parameter "audiohook". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/funcs/func_speex.c:234: leaked_storage: Variable "si" going out of scope leaks the storage it points to. FINDING #85 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/editline/term.c:479: alloc_fn: Calling allocation function "malloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/editline/term.c:479: var_assign: Assigning: "b" = storage returned from "malloc((size_t)(sizeof (char *) /*8*/ * (c->v + 1)))". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/editline/term.c:485: leaked_storage: Variable "b" going out of scope leaks the storage it points to. FINDING #86 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/editline/term.c:490: alloc_fn: Calling allocation function "malloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/editline/term.c:490: var_assign: Assigning: "b" = storage returned from "malloc((size_t)(sizeof (char *) /*8*/ * (c->v + 1)))". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/editline/term.c:496: leaked_storage: Variable "b" going out of scope leaks the storage it points to. FINDING #87 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/channel.c:828: alloc_fn: Calling allocation function "__ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: alloc_fn: Storage is returned from allocation function "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: var_assign: Assigning: "multi_iterator" = "_ast_calloc(1UL, sizeof (*multi_iterator) /*40*/, "astobj2.c", 613, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:752: return_alloc: Returning allocated memory "multi_iterator". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: return_alloc_fn: Directly returning storage allocated by "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/channel.c:828: leaked_storage: Failing to save storage allocated by "__ao2_callback(channels, (enum search_flags)6, ast_channel_softhangup_cb, NULL)" leaks it. FINDING #88 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/cli.c:2309: alloc_fn: Calling allocation function "_ast_realloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:516: alloc_fn: Storage is returned from allocation function "realloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:516: var_assign: Assigning: "newp" = "realloc(p, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:516: return_alloc: Returning allocated memory "newp". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/cli.c:2309: var_assign: Assigning: "match_list" = storage returned from "_ast_realloc(match_list, match_list_len * sizeof (*match_list) /*8*/, "cli.c", 2309, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/cli.c:2330: leaked_storage: Variable "match_list" going out of scope leaks the storage it points to. FINDING #89 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/cel.c:304: alloc_fn: Calling allocation function "__ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: alloc_fn: Storage is returned from allocation function "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: var_assign: Assigning: "multi_iterator" = "_ast_calloc(1UL, sizeof (*multi_iterator) /*40*/, "astobj2.c", 613, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:752: return_alloc: Returning allocated memory "multi_iterator". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: return_alloc_fn: Directly returning storage allocated by "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/cel.c:304: leaked_storage: Failing to save storage allocated by "__ao2_callback(appset, (enum search_flags)7, NULL, NULL)" leaks it. FINDING #90 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/features.c:5134: alloc_fn: Calling allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/features.c:5134: var_assign: Assigning: "feature" = storage returned from "_ast_calloc(1UL, sizeof (*feature) /*496*/, "features.c", 5134, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/features.c:5162: leaked_storage: Variable "feature" going out of scope leaks the storage it points to. [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/features.c:5176: leaked_storage: Variable "feature" going out of scope leaks the storage it points to. FINDING #91 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/indications.c:1064: alloc_fn: Calling allocation function "__ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: alloc_fn: Storage is returned from allocation function "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: var_assign: Assigning: "multi_iterator" = "_ast_calloc(1UL, sizeof (*multi_iterator) /*40*/, "astobj2.c", 613, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:752: return_alloc: Returning allocated memory "multi_iterator". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: return_alloc_fn: Directly returning storage allocated by "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/indications.c:1064: leaked_storage: Failing to save storage allocated by "__ao2_callback(ast_tone_zones, OBJ_NODATA, tone_zone_mark, NULL)" leaks it. FINDING #92 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/indications.c:1078: alloc_fn: Calling allocation function "__ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: alloc_fn: Storage is returned from allocation function "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: var_assign: Assigning: "multi_iterator" = "_ast_calloc(1UL, sizeof (*multi_iterator) /*40*/, "astobj2.c", 613, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:752: return_alloc: Returning allocated memory "multi_iterator". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: return_alloc_fn: Directly returning storage allocated by "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/indications.c:1078: leaked_storage: Failing to save storage allocated by "__ao2_callback(ast_tone_zones, (enum search_flags)7, prune_tone_zone, NULL)" leaks it. FINDING #93 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/manager.c:6528: alloc_fn: Calling allocation function "__ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: alloc_fn: Storage is returned from allocation function "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: var_assign: Assigning: "multi_iterator" = "_ast_calloc(1UL, sizeof (*multi_iterator) /*40*/, "astobj2.c", 613, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:752: return_alloc: Returning allocated memory "multi_iterator". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: return_alloc_fn: Directly returning storage allocated by "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/manager.c:6528: leaked_storage: Failing to save storage allocated by "__ao2_callback(user->whitefilters, (enum search_flags)7, NULL, NULL)" leaks it. FINDING #94 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/manager.c:6529: alloc_fn: Calling allocation function "__ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: alloc_fn: Storage is returned from allocation function "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: var_assign: Assigning: "multi_iterator" = "_ast_calloc(1UL, sizeof (*multi_iterator) /*40*/, "astobj2.c", 613, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:752: return_alloc: Returning allocated memory "multi_iterator". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: return_alloc_fn: Directly returning storage allocated by "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/manager.c:6529: leaked_storage: Failing to save storage allocated by "__ao2_callback(user->blackfilters, (enum search_flags)7, NULL, NULL)" leaks it. FINDING #95 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/manager.c:6613: alloc_fn: Calling allocation function "__ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: alloc_fn: Storage is returned from allocation function "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: var_assign: Assigning: "multi_iterator" = "_ast_calloc(1UL, sizeof (*multi_iterator) /*40*/, "astobj2.c", 613, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:752: return_alloc: Returning allocated memory "multi_iterator". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: return_alloc_fn: Directly returning storage allocated by "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/manager.c:6613: leaked_storage: Failing to save storage allocated by "__ao2_callback(user->whitefilters, (enum search_flags)7, NULL, NULL)" leaks it. FINDING #96 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/manager.c:6614: alloc_fn: Calling allocation function "__ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: alloc_fn: Storage is returned from allocation function "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: var_assign: Assigning: "multi_iterator" = "_ast_calloc(1UL, sizeof (*multi_iterator) /*40*/, "astobj2.c", 613, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:752: return_alloc: Returning allocated memory "multi_iterator". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: return_alloc_fn: Directly returning storage allocated by "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/manager.c:6614: leaked_storage: Failing to save storage allocated by "__ao2_callback(user->blackfilters, (enum search_flags)7, NULL, NULL)" leaks it. FINDING #97 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:544: alloc_fn: Calling allocation function "__ao2_callback_debug". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:763: alloc_fn: Storage is returned from allocation function "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: var_assign: Assigning: "multi_iterator" = "_ast_calloc(1UL, sizeof (*multi_iterator) /*40*/, "astobj2.c", 613, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:752: return_alloc: Returning allocated memory "multi_iterator". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:763: return_alloc_fn: Directly returning storage allocated by "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:544: leaked_storage: Failing to save storage allocated by "__ao2_callback_debug(c, (enum search_flags)11, ao2_match_by_addr, user_data, tag, file, line, funcname)" leaks it. FINDING #98 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:953: alloc_fn: Calling allocation function "__ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: alloc_fn: Storage is returned from allocation function "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: var_assign: Assigning: "multi_iterator" = "_ast_calloc(1UL, sizeof (*multi_iterator) /*40*/, "astobj2.c", 613, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:752: return_alloc: Returning allocated memory "multi_iterator". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: return_alloc_fn: Directly returning storage allocated by "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:953: leaked_storage: Failing to save storage allocated by "__ao2_callback(c, OBJ_UNLINK, cd_cb, NULL)" leaks it. FINDING #99 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:973: alloc_fn: Calling allocation function "__ao2_callback_debug". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:763: alloc_fn: Storage is returned from allocation function "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: var_assign: Assigning: "multi_iterator" = "_ast_calloc(1UL, sizeof (*multi_iterator) /*40*/, "astobj2.c", 613, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:752: return_alloc: Returning allocated memory "multi_iterator". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:763: return_alloc_fn: Directly returning storage allocated by "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:973: leaked_storage: Failing to save storage allocated by "__ao2_callback_debug(c, OBJ_UNLINK, cd_cb_debug, NULL, "container_destruct_debug called", "astobj2.c", 973, )" leaks it. FINDING #100 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/ccss.c:4174: alloc_fn: Calling allocation function "__ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: alloc_fn: Storage is returned from allocation function "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: var_assign: Assigning: "multi_iterator" = "_ast_calloc(1UL, sizeof (*multi_iterator) /*40*/, "astobj2.c", 613, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:752: return_alloc: Returning allocated memory "multi_iterator". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: return_alloc_fn: Directly returning storage allocated by "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/ccss.c:4174: leaked_storage: Failing to save storage allocated by "__ao2_callback(cc_core_instances, OBJ_NODATA, print_stats_cb, cli_fd)" leaks it. FINDING #101 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/ccss.c:4280: alloc_fn: Calling allocation function "__ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: alloc_fn: Storage is returned from allocation function "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: var_assign: Assigning: "multi_iterator" = "_ast_calloc(1UL, sizeof (*multi_iterator) /*40*/, "astobj2.c", 613, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:752: return_alloc: Returning allocated memory "multi_iterator". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: return_alloc_fn: Directly returning storage allocated by "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/ccss.c:4280: leaked_storage: Failing to save storage allocated by "__ao2_callback(cc_core_instances, OBJ_NODATA, kill_cores, &core_id)" leaks it. FINDING #102 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/ccss.c:4285: alloc_fn: Calling allocation function "__ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: alloc_fn: Storage is returned from allocation function "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: var_assign: Assigning: "multi_iterator" = "_ast_calloc(1UL, sizeof (*multi_iterator) /*40*/, "astobj2.c", 613, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:752: return_alloc: Returning allocated memory "multi_iterator". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: return_alloc_fn: Directly returning storage allocated by "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/ccss.c:4285: leaked_storage: Failing to save storage allocated by "__ao2_callback(cc_core_instances, OBJ_NODATA, kill_cores, NULL)" leaks it. FINDING #103 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/cel.c:194: alloc_fn: Calling allocation function "__ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: alloc_fn: Storage is returned from allocation function "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: var_assign: Assigning: "multi_iterator" = "_ast_calloc(1UL, sizeof (*multi_iterator) /*40*/, "astobj2.c", 613, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:752: return_alloc: Returning allocated memory "multi_iterator". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: return_alloc_fn: Directly returning storage allocated by "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/cel.c:194: leaked_storage: Failing to save storage allocated by "__ao2_callback(appset, OBJ_NODATA, print_app, a)" leaks it. FINDING #104 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/cli.c:1342: alloc_fn: Calling allocation function "ast_channel_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/channel.c:1597: alloc_fn: Storage is returned from allocation function "__ao2_callback_data". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:783: alloc_fn: Storage is returned from allocation function "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: var_assign: Assigning: "multi_iterator" = "_ast_calloc(1UL, sizeof (*multi_iterator) /*40*/, "astobj2.c", 613, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:752: return_alloc: Returning allocated memory "multi_iterator". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:783: return_alloc_fn: Directly returning storage allocated by "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/channel.c:1597: return_alloc_fn: Directly returning storage allocated by "__ao2_callback_data". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/cli.c:1342: leaked_storage: Failing to save storage allocated by "ast_channel_callback(channel_set_debug, NULL, &args, 6)" leaks it. FINDING #105 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/config.c:1213: alloc_fn: Calling allocation function "ast_str_create". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/strings.h:405: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/strings.h:405: var_assign: Assigning: "buf" = "_ast_calloc(1UL, sizeof (*buf) /*24*/ + init_len, "/builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/strings.h", 420, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/strings.h:405: return_alloc: Returning allocated memory "buf". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/config.c:1213: var_assign: Assigning: "comment_buffer" = storage returned from "ast_str_create(250UL)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/config.c:1311: leaked_storage: Variable "comment_buffer" going out of scope leaks the storage it points to. [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/config.c:1319: leaked_storage: Variable "comment_buffer" going out of scope leaks the storage it points to. [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/config.c:1470: leaked_storage: Variable "comment_buffer" going out of scope leaks the storage it points to. FINDING #106 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/config.c:1311: leaked_storage: Variable "lline_buffer" going out of scope leaks the storage it points to. [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/config.c:1339: noescape: Variable "lline_buffer" is not freed or pointed-to in function "ast_str_strlen". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/strings.h:466:1: noescape: "ast_str_strlen" does not free or save its pointer parameter "buf". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/config.c:1340: noescape: Variable "lline_buffer" is not freed or pointed-to in function "ast_str_buffer". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/strings.h:488:1: noescape: "ast_str_buffer" does not free or save its pointer parameter "buf". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/config.c:1341: noescape: Variable "lline_buffer" is not freed or pointed-to in function "ast_str_reset". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/strings.h:426:1: noescape: "ast_str_reset" does not free or save its pointer parameter "buf". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/config.c:1412: noescape: Variable "lline_buffer" is not freed or pointed-to in function "process_text_line". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/config.c:935:18: noescape: "process_text_line" does not free or save its pointer parameter "lline_buffer". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/config.c:1423: noescape: Variable "lline_buffer" is not freed or pointed-to in function "ast_str_strlen". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/config.c:1424: noescape: Variable "lline_buffer" is not freed or pointed-to in function "ast_str_buffer". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/config.c:1425: noescape: Variable "lline_buffer" is not freed or pointed-to in function "ast_str_reset". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/config.c:1431: noescape: Variable "lline_buffer" is not freed or pointed-to in function "ast_str_strlen". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/config.c:1432: noescape: Variable "lline_buffer" is not freed or pointed-to in function "ast_str_buffer". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/config.c:1433: noescape: Variable "lline_buffer" is not freed or pointed-to in function "ast_str_reset". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/config.c:1443: noescape: Variable "lline_buffer" is not freed or pointed-to in function "CB_RESET". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/config.c:108:58: noescape: "CB_RESET" does not free or save its pointer parameter "llb". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/config.c:1472: leaked_storage: Variable "lline_buffer" going out of scope leaks the storage it points to. FINDING #107 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/config.c:1215: alloc_fn: Calling allocation function "ast_str_create". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/strings.h:405: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/strings.h:405: var_assign: Assigning: "buf" = "_ast_calloc(1UL, sizeof (*buf) /*24*/ + init_len, "/builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/strings.h", 420, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/strings.h:405: return_alloc: Returning allocated memory "buf". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/config.c:1215: var_assign: Assigning: "lline_buffer" = storage returned from "ast_str_create(250UL)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/config.c:1311: leaked_storage: Variable "lline_buffer" going out of scope leaks the storage it points to. [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/config.c:1319: leaked_storage: Variable "lline_buffer" going out of scope leaks the storage it points to. [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/config.c:1339: noescape: Variable "lline_buffer" is not freed or pointed-to in function "ast_str_strlen". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/strings.h:466:1: noescape: "ast_str_strlen" does not free or save its pointer parameter "buf". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/config.c:1340: noescape: Variable "lline_buffer" is not freed or pointed-to in function "ast_str_buffer". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/strings.h:488:1: noescape: "ast_str_buffer" does not free or save its pointer parameter "buf". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/config.c:1341: noescape: Variable "lline_buffer" is not freed or pointed-to in function "ast_str_reset". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/strings.h:426:1: noescape: "ast_str_reset" does not free or save its pointer parameter "buf". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/config.c:1412: noescape: Variable "lline_buffer" is not freed or pointed-to in function "process_text_line". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/config.c:935:18: noescape: "process_text_line" does not free or save its pointer parameter "lline_buffer". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/config.c:1423: noescape: Variable "lline_buffer" is not freed or pointed-to in function "ast_str_strlen". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/config.c:1424: noescape: Variable "lline_buffer" is not freed or pointed-to in function "ast_str_buffer". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/config.c:1425: noescape: Variable "lline_buffer" is not freed or pointed-to in function "ast_str_reset". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/config.c:1443: noescape: Variable "lline_buffer" is not freed or pointed-to in function "CB_RESET". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/config.c:108:58: noescape: "CB_RESET" does not free or save its pointer parameter "llb". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/config.c:1470: leaked_storage: Variable "lline_buffer" going out of scope leaks the storage it points to. [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/config.c:1472: leaked_storage: Variable "lline_buffer" going out of scope leaks the storage it points to. FINDING #108 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/data.c:2182: alloc_fn: Calling allocation function "ast_data_get". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/data.c:2071: alloc_fn: Storage is returned from allocation function "data_result_generate". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/data.c:2031: alloc_fn: Storage is returned from allocation function "data_result_generate_node". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/data.c:1891: alloc_fn: Storage is returned from allocation function "data_result_create". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/data.c:1407: alloc_fn: Storage is returned from allocation function "__ao2_alloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:340: alloc_fn: Storage is returned from allocation function "internal_ao2_alloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:295: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:295: var_assign: Assigning: "obj" = "_ast_calloc(1UL, sizeof (*obj) /*88*/ + data_size, "astobj2.c", 295, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:314: return_alloc: Returning allocated memory "obj". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:340: return_alloc_fn: Directly returning storage allocated by "internal_ao2_alloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/data.c:1407: var_assign: Assigning: "res" = "__ao2_alloc(sizeof (*res) /*32*/ + namelen, data_result_destructor)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/data.c:1425: return_alloc: Returning allocated memory "res". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/data.c:1891: var_assign: Assigning: "node" = "data_result_create(parent_node_name)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/data.c:1957: return_alloc: Returning allocated memory "node". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/data.c:2031: var_assign: Assigning: "result" = "data_result_generate_node(query, provider_child, provider_child->name, search_child, filter_child)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/data.c:2050: var_assign: Assigning: "result_filtered" = "result". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/data.c:2057: return_alloc: Returning allocated memory "result_filtered". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/data.c:2071: var_assign: Assigning: "res" = "data_result_generate(query, query->path)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/data.c:2079: return_alloc: Returning allocated memory "res". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/data.c:2182: var_assign: Assigning: "res" = storage returned from "ast_data_get(query)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/data.c:2189: leaked_storage: Variable "res" going out of scope leaks the storage it points to. FINDING #109 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/event.c:632: alloc_fn: Calling allocation function "__ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: alloc_fn: Storage is returned from allocation function "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: var_assign: Assigning: "multi_iterator" = "_ast_calloc(1UL, sizeof (*multi_iterator) /*40*/, "astobj2.c", 613, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:752: return_alloc: Returning allocated memory "multi_iterator". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: return_alloc_fn: Directly returning storage allocated by "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/event.c:632: leaked_storage: Failing to save storage allocated by "__ao2_callback(ast_event_cache[event_sub->type].container, OBJ_NODATA, dump_cache_cb, (void *)event_sub)" leaks it. FINDING #110 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/editline/tokenizer.c:110: alloc_fn: Calling allocation function "malloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/editline/tokenizer.c:110: var_assign: Assigning: "tok" = storage returned from "malloc(sizeof (Tokenizer) /*64*/)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/editline/tokenizer.c:117: leaked_storage: Variable "tok" going out of scope leaks the storage it points to. [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/editline/tokenizer.c:121: leaked_storage: Variable "tok" going out of scope leaks the storage it points to. FINDING #111 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/editline/readline.c:592: alloc_fn: Calling allocation function "history_tokenize". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/editline/readline.c:800: alloc_fn: Storage is returned from allocation function "realloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/editline/readline.c:800: var_assign: Assigning: "result" = "realloc(result, size * sizeof (char *) /*8*/)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/editline/readline.c:810: return_alloc: Returning allocated memory "result". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/editline/readline.c:592: var_assign: Assigning: "arr" = storage returned from "history_tokenize(line)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/editline/readline.c:613: leaked_storage: Variable "arr" going out of scope leaks the storage it points to. FINDING #112 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/editline/readline.c:583: alloc_fn: Calling allocation function "_rl_compat_sub". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/editline/readline.c:365: alloc_fn: Storage is returned from allocation function "realloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/editline/readline.c:365: var_assign: Assigning: "result" = "realloc(result, size)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/editline/readline.c:374: return_alloc: Returning allocated memory "result". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/editline/readline.c:583: var_assign: Assigning: "tempcmd" = storage returned from "_rl_compat_sub(line, from, to, (g_on ? 1 : 0))". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/editline/readline.c:586: var_assign: Assigning: "line" = "tempcmd". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/editline/readline.c:552: leaked_storage: Variable "line" going out of scope leaks the storage it points to. [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/editline/readline.c:552: leaked_storage: Variable "tempcmd" going out of scope leaks the storage it points to. FINDING #113 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/editline/readline.c:744: alloc_arg: Calling allocation function "_history_expand_command" on "temp". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/editline/readline.c:639: alloc_fn: Storage is returned from allocation function "realloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/editline/readline.c:639: var_assign: Assigning: "tempcmd" = "realloc(tempcmd, cmdsize)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/editline/readline.c:649: var_assign: Assigning: "*result" = "tempcmd". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/editline/readline.c:747: noescape: Variable "temp" is not freed or pointed-to in function "strlen". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/editline/readline.c:748: noescape: Variable "temp" is not freed or pointed-to in function "strncpy". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/editline/readline.c:730: overwrite_var: Overwriting "temp" in call "temp = str + start" leaks the storage that "temp" points to. FINDING #114 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/editline/readline.c:744: alloc_arg: Calling allocation function "_history_expand_command" on "temp". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/editline/readline.c:639: alloc_fn: Storage is returned from allocation function "realloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/editline/readline.c:639: var_assign: Assigning: "tempcmd" = "realloc(tempcmd, cmdsize)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/editline/readline.c:649: var_assign: Assigning: "*result" = "tempcmd". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/editline/readline.c:747: noescape: Variable "temp" is not freed or pointed-to in function "strlen". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/editline/readline.c:748: noescape: Variable "temp" is not freed or pointed-to in function "strncpy". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/editline/readline.c:766: leaked_storage: Variable "temp" going out of scope leaks the storage it points to. FINDING #115 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/event.c:1734: alloc_fn: Calling allocation function "__ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: alloc_fn: Storage is returned from allocation function "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: var_assign: Assigning: "multi_iterator" = "_ast_calloc(1UL, sizeof (*multi_iterator) /*40*/, "astobj2.c", 613, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:752: return_alloc: Returning allocated memory "multi_iterator". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: return_alloc_fn: Directly returning storage allocated by "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/event.c:1734: leaked_storage: Failing to save storage allocated by "__ao2_callback(ast_event_cache[event_type].container, OBJ_NODATA, event_dump_cli, a)" leaks it. FINDING #116 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/features.c:5351: alloc_fn: Calling allocation function "__ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: alloc_fn: Storage is returned from allocation function "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: var_assign: Assigning: "multi_iterator" = "_ast_calloc(1UL, sizeof (*multi_iterator) /*40*/, "astobj2.c", 613, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:752: return_alloc: Returning allocated memory "multi_iterator". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: return_alloc_fn: Directly returning storage allocated by "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/features.c:5351: leaked_storage: Failing to save storage allocated by "__ao2_callback(parkinglots, OBJ_NODATA, parkinglot_markall_cb, NULL)" leaks it. FINDING #117 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/features.c:5353: alloc_fn: Calling allocation function "__ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: alloc_fn: Storage is returned from allocation function "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: var_assign: Assigning: "multi_iterator" = "_ast_calloc(1UL, sizeof (*multi_iterator) /*40*/, "astobj2.c", 613, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:752: return_alloc: Returning allocated memory "multi_iterator". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: return_alloc_fn: Directly returning storage allocated by "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/features.c:5353: leaked_storage: Failing to save storage allocated by "__ao2_callback(parkinglots, (enum search_flags)3, parkinglot_is_marked_cb, NULL)" leaks it. FINDING #118 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/features.c:4503: alloc_fn: Calling allocation function "__ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: alloc_fn: Storage is returned from allocation function "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: var_assign: Assigning: "multi_iterator" = "_ast_calloc(1UL, sizeof (*multi_iterator) /*40*/, "astobj2.c", 613, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:752: return_alloc: Returning allocated memory "multi_iterator". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: return_alloc_fn: Directly returning storage allocated by "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/features.c:4503: var_assign: Assigning: "parkinglot" = storage returned from "__ao2_callback(parkinglots, (enum search_flags)0, find_parkinglot_by_position_cb, (void *)&park)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/features.c:4507: noescape: Variable "parkinglot" is not freed or pointed-to in function "__ast_pthread_mutex_lock". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/lock.c:157:81: noescape: "__ast_pthread_mutex_lock" does not free or save its pointer parameter "t". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/features.c:4508: var_assign: Assigning: "__list_head" = "parkinglot". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/features.c:4511: noescape: Variable "parkinglot" is not freed or pointed-to in function "__ast_pthread_mutex_unlock". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/lock.c:363:48: noescape: "__ast_pthread_mutex_unlock" does not free or save its pointer parameter "t". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/features.c:4512: leaked_storage: Variable "__list_head" going out of scope leaks the storage it points to. [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/features.c:4512: leaked_storage: Variable "parkinglot" going out of scope leaks the storage it points to. [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/features.c:4518: leaked_storage: Variable "__list_head" going out of scope leaks the storage it points to. [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/features.c:4519: noescape: Variable "parkinglot" is not freed or pointed-to in function "__ast_pthread_mutex_unlock". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/features.c:4585: leaked_storage: Variable "parkinglot" going out of scope leaks the storage it points to. [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/features.c:4661: leaked_storage: Variable "parkinglot" going out of scope leaks the storage it points to. FINDING #119 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/manager.c:4126: alloc_fn: Calling allocation function "__ao2_callback_data". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:783: alloc_fn: Storage is returned from allocation function "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: var_assign: Assigning: "multi_iterator" = "_ast_calloc(1UL, sizeof (*multi_iterator) /*40*/, "astobj2.c", 613, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:752: return_alloc: Returning allocated memory "multi_iterator". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:783: return_alloc_fn: Directly returning storage allocated by "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/manager.c:4126: leaked_storage: Failing to save storage allocated by "__ao2_callback_data(s->session->whitefilters, OBJ_NODATA, whitefilter_cmp_fn, eventdata, &result)" leaks it. FINDING #120 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/manager.c:4129: alloc_fn: Calling allocation function "__ao2_callback_data". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:783: alloc_fn: Storage is returned from allocation function "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: var_assign: Assigning: "multi_iterator" = "_ast_calloc(1UL, sizeof (*multi_iterator) /*40*/, "astobj2.c", 613, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:752: return_alloc: Returning allocated memory "multi_iterator". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:783: return_alloc_fn: Directly returning storage allocated by "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/manager.c:4129: leaked_storage: Failing to save storage allocated by "__ao2_callback_data(s->session->blackfilters, OBJ_NODATA, blackfilter_cmp_fn, eventdata, &result)" leaks it. FINDING #121 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/manager.c:4132: alloc_fn: Calling allocation function "__ao2_callback_data". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:783: alloc_fn: Storage is returned from allocation function "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: var_assign: Assigning: "multi_iterator" = "_ast_calloc(1UL, sizeof (*multi_iterator) /*40*/, "astobj2.c", 613, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:752: return_alloc: Returning allocated memory "multi_iterator". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:783: return_alloc_fn: Directly returning storage allocated by "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/manager.c:4132: leaked_storage: Failing to save storage allocated by "__ao2_callback_data(s->session->whitefilters, OBJ_NODATA, whitefilter_cmp_fn, eventdata, &result)" leaks it. FINDING #122 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/manager.c:4135: alloc_fn: Calling allocation function "__ao2_callback_data". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:783: alloc_fn: Storage is returned from allocation function "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: var_assign: Assigning: "multi_iterator" = "_ast_calloc(1UL, sizeof (*multi_iterator) /*40*/, "astobj2.c", 613, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:752: return_alloc: Returning allocated memory "multi_iterator". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:783: return_alloc_fn: Directly returning storage allocated by "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/manager.c:4135: leaked_storage: Failing to save storage allocated by "__ao2_callback_data(s->session->blackfilters, OBJ_NODATA, blackfilter_cmp_fn, eventdata, &result)" leaks it. FINDING #123 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/manager.c:1274: alloc_fn: Calling allocation function "__ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: alloc_fn: Storage is returned from allocation function "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: var_assign: Assigning: "multi_iterator" = "_ast_calloc(1UL, sizeof (*multi_iterator) /*40*/, "astobj2.c", 613, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:752: return_alloc: Returning allocated memory "multi_iterator". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: return_alloc_fn: Directly returning storage allocated by "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/manager.c:1274: leaked_storage: Failing to save storage allocated by "__ao2_callback(session->whitefilters, (enum search_flags)7, NULL, NULL)" leaks it. FINDING #124 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/manager.c:1279: alloc_fn: Calling allocation function "__ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: alloc_fn: Storage is returned from allocation function "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: var_assign: Assigning: "multi_iterator" = "_ast_calloc(1UL, sizeof (*multi_iterator) /*40*/, "astobj2.c", 613, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:752: return_alloc: Returning allocated memory "multi_iterator". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: return_alloc_fn: Directly returning storage allocated by "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/manager.c:1279: leaked_storage: Failing to save storage allocated by "__ao2_callback(session->blackfilters, (enum search_flags)7, NULL, NULL)" leaks it. FINDING #125 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/pbx.c:7865: alloc_fn: Calling allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/pbx.c:7865: var_assign: Assigning: "ignorepat" = storage returned from "_ast_calloc(1UL, length, "pbx.c", 7865, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/pbx.c:7884: leaked_storage: Variable "ignorepat" going out of scope leaks the storage it points to. FINDING #126 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/pbx.c:7141: alloc_fn: Calling allocation function "ast_hashtab_start_traversal". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/hashtab.c:698: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/hashtab.c:698: var_assign: Assigning: "it" = "_ast_calloc(1UL, sizeof (*it) /*16*/, "hashtab.c", 702, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/hashtab.c:712: return_alloc: Returning allocated memory "it". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/pbx.c:7141: var_assign: Assigning: "exten_iter" = storage returned from "ast_hashtab_start_traversal(context->root_table)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/pbx.c:7142: noescape: Variable "exten_iter" is not freed or pointed-to in function "ast_hashtab_next". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/hashtab.c:749:49: noescape: "ast_hashtab_next" does not free or save its pointer parameter "it". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/pbx.c:7174: leaked_storage: Variable "exten_iter" going out of scope leaks the storage it points to. FINDING #127 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/pbx.c:7148: alloc_fn: Calling allocation function "ast_hashtab_start_traversal". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/hashtab.c:698: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/hashtab.c:698: var_assign: Assigning: "it" = "_ast_calloc(1UL, sizeof (*it) /*16*/, "hashtab.c", 702, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/hashtab.c:712: return_alloc: Returning allocated memory "it". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/pbx.c:7148: var_assign: Assigning: "prio_iter" = storage returned from "ast_hashtab_start_traversal(exten_item->peer_table)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/pbx.c:7149: noescape: Variable "prio_iter" is not freed or pointed-to in function "ast_hashtab_next". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/hashtab.c:749:49: noescape: "ast_hashtab_next" does not free or save its pointer parameter "it". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/pbx.c:7174: leaked_storage: Variable "prio_iter" going out of scope leaks the storage it points to. FINDING #128 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/udptl.c:1280: alloc_arg: Calling allocation function "ast_sockaddr_resolve" on "addrs". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/netsock2.c:273: alloc_fn: Storage is returned from allocation function "_ast_malloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:457: alloc_fn: Storage is returned from allocation function "malloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:457: var_assign: Assigning: "p" = "malloc(len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:457: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/netsock2.c:273: var_assign: Assigning: "*addrs" = "_ast_malloc(res_cnt * sizeof (struct ast_sockaddr) /*136*/, "netsock2.c", 273, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/udptl.c:1281: leaked_storage: Variable "addrs" going out of scope leaks the storage it points to. FINDING #129 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1867: alloc_fn: Calling allocation function "malloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1867: var_assign: Assigning: "value" = storage returned from "malloc(64UL)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1980: leaked_storage: Variable "value" going out of scope leaks the storage it points to. FINDING #130 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1524: alloc_fn: Calling allocation function "mxmlNewElement". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:342: alloc_fn: Storage is returned from allocation function "mxml_new". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:628: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:628: var_assign: Assigning: "node" = "calloc(1UL, sizeof (mxml_node_t) /*72*/)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:658: return_alloc: Returning allocated memory "node". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:342: var_assign: Assigning: "node" = "mxml_new(parent, MXML_ELEMENT)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:345: return_alloc: Returning allocated memory "node". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1524: leaked_storage: Failing to save storage allocated by "mxmlNewElement(parent, buffer)" leaks it. FINDING #131 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1570: alloc_fn: Calling allocation function "mxmlNewElement". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:342: alloc_fn: Storage is returned from allocation function "mxml_new". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:628: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:628: var_assign: Assigning: "node" = "calloc(1UL, sizeof (mxml_node_t) /*72*/)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:658: return_alloc: Returning allocated memory "node". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:342: var_assign: Assigning: "node" = "mxml_new(parent, MXML_ELEMENT)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:345: return_alloc: Returning allocated memory "node". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1570: leaked_storage: Failing to save storage allocated by "mxmlNewElement(parent, buffer)" leaks it. FINDING #132 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1456: alloc_fn: Calling allocation function "mxmlNewText". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:482: alloc_fn: Storage is returned from allocation function "mxml_new". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:628: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:628: var_assign: Assigning: "node" = "calloc(1UL, sizeof (mxml_node_t) /*72*/)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:658: return_alloc: Returning allocated memory "node". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:482: var_assign: Assigning: "node" = "mxml_new(parent, MXML_TEXT)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:488: return_alloc: Returning allocated memory "node". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1456: leaked_storage: Failing to save storage allocated by "mxmlNewText(parent, whitespace, "")" leaks it. FINDING #133 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1378: alloc_fn: Calling allocation function "mxmlNewInteger". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:372: alloc_fn: Storage is returned from allocation function "mxml_new". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:628: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:628: var_assign: Assigning: "node" = "calloc(1UL, sizeof (mxml_node_t) /*72*/)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:658: return_alloc: Returning allocated memory "node". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:372: var_assign: Assigning: "node" = "mxml_new(parent, MXML_INTEGER)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:375: return_alloc: Returning allocated memory "node". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1378: var_assign: Assigning: "node" = storage returned from "mxmlNewInteger(parent, strtol(buffer, &bufptr, 0))". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1672: overwrite_var: Overwriting "node" in call "node = mxmlNewElement(parent, buffer)" leaks the storage that "node" points to. FINDING #134 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1378: alloc_fn: Calling allocation function "mxmlNewInteger". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:372: alloc_fn: Storage is returned from allocation function "mxml_new". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:628: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:628: var_assign: Assigning: "node" = "calloc(1UL, sizeof (mxml_node_t) /*72*/)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:658: return_alloc: Returning allocated memory "node". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:372: var_assign: Assigning: "node" = "mxml_new(parent, MXML_INTEGER)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:375: return_alloc: Returning allocated memory "node". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1378: var_assign: Assigning: "node" = storage returned from "mxmlNewInteger(parent, strtol(buffer, &bufptr, 0))". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1732: overwrite_var: Overwriting "node" in call "node = mxmlNewElement(parent, buffer)" leaks the storage that "node" points to. FINDING #135 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1378: alloc_fn: Calling allocation function "mxmlNewInteger". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:372: alloc_fn: Storage is returned from allocation function "mxml_new". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:628: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:628: var_assign: Assigning: "node" = "calloc(1UL, sizeof (mxml_node_t) /*72*/)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:658: return_alloc: Returning allocated memory "node". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:372: var_assign: Assigning: "node" = "mxml_new(parent, MXML_INTEGER)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:375: return_alloc: Returning allocated memory "node". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1378: var_assign: Assigning: "node" = storage returned from "mxmlNewInteger(parent, strtol(buffer, &bufptr, 0))". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1378: overwrite_var: Overwriting "node" in call "node = mxmlNewInteger(parent, strtol(buffer, &bufptr, 0))" leaks the storage that "node" points to. FINDING #136 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1382: alloc_fn: Calling allocation function "mxmlNewOpaque". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:411: alloc_fn: Storage is returned from allocation function "mxml_new". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:628: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:628: var_assign: Assigning: "node" = "calloc(1UL, sizeof (mxml_node_t) /*72*/)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:658: return_alloc: Returning allocated memory "node". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:411: var_assign: Assigning: "node" = "mxml_new(parent, MXML_OPAQUE)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:414: return_alloc: Returning allocated memory "node". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1382: var_assign: Assigning: "node" = storage returned from "mxmlNewOpaque(parent, buffer)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1413: overwrite_var: Overwriting "node" in call "node = NULL" leaks the storage that "node" points to. FINDING #137 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1382: alloc_fn: Calling allocation function "mxmlNewOpaque". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:411: alloc_fn: Storage is returned from allocation function "mxml_new". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:628: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:628: var_assign: Assigning: "node" = "calloc(1UL, sizeof (mxml_node_t) /*72*/)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:658: return_alloc: Returning allocated memory "node". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:411: var_assign: Assigning: "node" = "mxml_new(parent, MXML_OPAQUE)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:414: return_alloc: Returning allocated memory "node". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1382: var_assign: Assigning: "node" = storage returned from "mxmlNewOpaque(parent, buffer)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1400: overwrite_var: Overwriting "node" in call "node = mxmlNewCustom(parent, NULL, NULL)" leaks the storage that "node" points to. FINDING #138 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1382: alloc_fn: Calling allocation function "mxmlNewOpaque". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:411: alloc_fn: Storage is returned from allocation function "mxml_new". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:628: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:628: var_assign: Assigning: "node" = "calloc(1UL, sizeof (mxml_node_t) /*72*/)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:658: return_alloc: Returning allocated memory "node". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:411: var_assign: Assigning: "node" = "mxml_new(parent, MXML_OPAQUE)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:414: return_alloc: Returning allocated memory "node". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1382: var_assign: Assigning: "node" = storage returned from "mxmlNewOpaque(parent, buffer)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1672: overwrite_var: Overwriting "node" in call "node = mxmlNewElement(parent, buffer)" leaks the storage that "node" points to. FINDING #139 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1382: alloc_fn: Calling allocation function "mxmlNewOpaque". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:411: alloc_fn: Storage is returned from allocation function "mxml_new". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:628: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:628: var_assign: Assigning: "node" = "calloc(1UL, sizeof (mxml_node_t) /*72*/)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:658: return_alloc: Returning allocated memory "node". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:411: var_assign: Assigning: "node" = "mxml_new(parent, MXML_OPAQUE)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:414: return_alloc: Returning allocated memory "node". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1382: var_assign: Assigning: "node" = storage returned from "mxmlNewOpaque(parent, buffer)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1732: overwrite_var: Overwriting "node" in call "node = mxmlNewElement(parent, buffer)" leaks the storage that "node" points to. FINDING #140 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1382: alloc_fn: Calling allocation function "mxmlNewOpaque". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:411: alloc_fn: Storage is returned from allocation function "mxml_new". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:628: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:628: var_assign: Assigning: "node" = "calloc(1UL, sizeof (mxml_node_t) /*72*/)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:658: return_alloc: Returning allocated memory "node". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:411: var_assign: Assigning: "node" = "mxml_new(parent, MXML_OPAQUE)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:414: return_alloc: Returning allocated memory "node". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1382: var_assign: Assigning: "node" = storage returned from "mxmlNewOpaque(parent, buffer)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1382: overwrite_var: Overwriting "node" in call "node = mxmlNewOpaque(parent, buffer)" leaks the storage that "node" points to. FINDING #141 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1382: alloc_fn: Calling allocation function "mxmlNewOpaque". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:411: alloc_fn: Storage is returned from allocation function "mxml_new". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:628: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:628: var_assign: Assigning: "node" = "calloc(1UL, sizeof (mxml_node_t) /*72*/)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:658: return_alloc: Returning allocated memory "node". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:411: var_assign: Assigning: "node" = "mxml_new(parent, MXML_OPAQUE)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:414: return_alloc: Returning allocated memory "node". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1382: var_assign: Assigning: "node" = storage returned from "mxmlNewOpaque(parent, buffer)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1386: overwrite_var: Overwriting "node" in call "node = mxmlNewReal(parent, strtod(buffer, &bufptr))" leaks the storage that "node" points to. FINDING #142 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1382: alloc_fn: Calling allocation function "mxmlNewOpaque". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:411: alloc_fn: Storage is returned from allocation function "mxml_new". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:628: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:628: var_assign: Assigning: "node" = "calloc(1UL, sizeof (mxml_node_t) /*72*/)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:658: return_alloc: Returning allocated memory "node". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:411: var_assign: Assigning: "node" = "mxml_new(parent, MXML_OPAQUE)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:414: return_alloc: Returning allocated memory "node". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1382: var_assign: Assigning: "node" = storage returned from "mxmlNewOpaque(parent, buffer)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1390: overwrite_var: Overwriting "node" in call "node = mxmlNewText(parent, whitespace, buffer)" leaks the storage that "node" points to. FINDING #143 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1386: alloc_fn: Calling allocation function "mxmlNewReal". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:441: alloc_fn: Storage is returned from allocation function "mxml_new". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:628: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:628: var_assign: Assigning: "node" = "calloc(1UL, sizeof (mxml_node_t) /*72*/)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:658: return_alloc: Returning allocated memory "node". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:441: var_assign: Assigning: "node" = "mxml_new(parent, MXML_REAL)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:444: return_alloc: Returning allocated memory "node". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1386: var_assign: Assigning: "node" = storage returned from "mxmlNewReal(parent, strtod(buffer, &bufptr))". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1413: overwrite_var: Overwriting "node" in call "node = NULL" leaks the storage that "node" points to. FINDING #144 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1386: alloc_fn: Calling allocation function "mxmlNewReal". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:441: alloc_fn: Storage is returned from allocation function "mxml_new". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:628: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:628: var_assign: Assigning: "node" = "calloc(1UL, sizeof (mxml_node_t) /*72*/)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:658: return_alloc: Returning allocated memory "node". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:441: var_assign: Assigning: "node" = "mxml_new(parent, MXML_REAL)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:444: return_alloc: Returning allocated memory "node". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1386: var_assign: Assigning: "node" = storage returned from "mxmlNewReal(parent, strtod(buffer, &bufptr))". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1400: overwrite_var: Overwriting "node" in call "node = mxmlNewCustom(parent, NULL, NULL)" leaks the storage that "node" points to. FINDING #145 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1386: alloc_fn: Calling allocation function "mxmlNewReal". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:441: alloc_fn: Storage is returned from allocation function "mxml_new". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:628: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:628: var_assign: Assigning: "node" = "calloc(1UL, sizeof (mxml_node_t) /*72*/)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:658: return_alloc: Returning allocated memory "node". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:441: var_assign: Assigning: "node" = "mxml_new(parent, MXML_REAL)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:444: return_alloc: Returning allocated memory "node". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1386: var_assign: Assigning: "node" = storage returned from "mxmlNewReal(parent, strtod(buffer, &bufptr))". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1672: overwrite_var: Overwriting "node" in call "node = mxmlNewElement(parent, buffer)" leaks the storage that "node" points to. FINDING #146 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1386: alloc_fn: Calling allocation function "mxmlNewReal". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:441: alloc_fn: Storage is returned from allocation function "mxml_new". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:628: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:628: var_assign: Assigning: "node" = "calloc(1UL, sizeof (mxml_node_t) /*72*/)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:658: return_alloc: Returning allocated memory "node". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:441: var_assign: Assigning: "node" = "mxml_new(parent, MXML_REAL)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:444: return_alloc: Returning allocated memory "node". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1386: var_assign: Assigning: "node" = storage returned from "mxmlNewReal(parent, strtod(buffer, &bufptr))". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1732: overwrite_var: Overwriting "node" in call "node = mxmlNewElement(parent, buffer)" leaks the storage that "node" points to. FINDING #147 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1386: alloc_fn: Calling allocation function "mxmlNewReal". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:441: alloc_fn: Storage is returned from allocation function "mxml_new". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:628: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:628: var_assign: Assigning: "node" = "calloc(1UL, sizeof (mxml_node_t) /*72*/)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:658: return_alloc: Returning allocated memory "node". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:441: var_assign: Assigning: "node" = "mxml_new(parent, MXML_REAL)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:444: return_alloc: Returning allocated memory "node". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1386: var_assign: Assigning: "node" = storage returned from "mxmlNewReal(parent, strtod(buffer, &bufptr))". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1386: overwrite_var: Overwriting "node" in call "node = mxmlNewReal(parent, strtod(buffer, &bufptr))" leaks the storage that "node" points to. FINDING #148 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1386: alloc_fn: Calling allocation function "mxmlNewReal". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:441: alloc_fn: Storage is returned from allocation function "mxml_new". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:628: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:628: var_assign: Assigning: "node" = "calloc(1UL, sizeof (mxml_node_t) /*72*/)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:658: return_alloc: Returning allocated memory "node". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:441: var_assign: Assigning: "node" = "mxml_new(parent, MXML_REAL)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:444: return_alloc: Returning allocated memory "node". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1386: var_assign: Assigning: "node" = storage returned from "mxmlNewReal(parent, strtod(buffer, &bufptr))". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1390: overwrite_var: Overwriting "node" in call "node = mxmlNewText(parent, whitespace, buffer)" leaks the storage that "node" points to. FINDING #149 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1378: overwrite_var: Overwriting "node" in call "node = mxmlNewInteger(parent, strtol(buffer, &bufptr, 0))" leaks the storage that "node" points to. [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1382: alloc_fn: Calling allocation function "mxmlNewOpaque". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:411: alloc_fn: Storage is returned from allocation function "mxml_new". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:628: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:628: var_assign: Assigning: "node" = "calloc(1UL, sizeof (mxml_node_t) /*72*/)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:658: return_alloc: Returning allocated memory "node". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:411: var_assign: Assigning: "node" = "mxml_new(parent, MXML_OPAQUE)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:414: return_alloc: Returning allocated memory "node". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1382: var_assign: Assigning: "node" = storage returned from "mxmlNewOpaque(parent, buffer)". FINDING #150 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1378: overwrite_var: Overwriting "node" in call "node = mxmlNewInteger(parent, strtol(buffer, &bufptr, 0))" leaks the storage that "node" points to. [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1386: alloc_fn: Calling allocation function "mxmlNewReal". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:441: alloc_fn: Storage is returned from allocation function "mxml_new". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:628: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:628: var_assign: Assigning: "node" = "calloc(1UL, sizeof (mxml_node_t) /*72*/)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:658: return_alloc: Returning allocated memory "node". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:441: var_assign: Assigning: "node" = "mxml_new(parent, MXML_REAL)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:444: return_alloc: Returning allocated memory "node". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1386: var_assign: Assigning: "node" = storage returned from "mxmlNewReal(parent, strtod(buffer, &bufptr))". FINDING #151 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1382: overwrite_var: Overwriting "node" in call "node = mxmlNewOpaque(parent, buffer)" leaks the storage that "node" points to. [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1386: alloc_fn: Calling allocation function "mxmlNewReal". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:441: alloc_fn: Storage is returned from allocation function "mxml_new". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:628: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:628: var_assign: Assigning: "node" = "calloc(1UL, sizeof (mxml_node_t) /*72*/)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:658: return_alloc: Returning allocated memory "node". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:441: var_assign: Assigning: "node" = "mxml_new(parent, MXML_REAL)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:444: return_alloc: Returning allocated memory "node". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1386: var_assign: Assigning: "node" = storage returned from "mxmlNewReal(parent, strtod(buffer, &bufptr))". FINDING #152 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1732: alloc_fn: Calling allocation function "mxmlNewElement". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:342: alloc_fn: Storage is returned from allocation function "mxml_new". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:628: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:628: var_assign: Assigning: "node" = "calloc(1UL, sizeof (mxml_node_t) /*72*/)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:658: return_alloc: Returning allocated memory "node". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:342: var_assign: Assigning: "node" = "mxml_new(parent, MXML_ELEMENT)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:345: return_alloc: Returning allocated memory "node". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1732: var_assign: Assigning: "node" = storage returned from "mxmlNewElement(parent, buffer)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1732: overwrite_var: Overwriting "node" in call "node = mxmlNewElement(parent, buffer)" leaks the storage that "node" points to. [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1746: noescape: Variable "node" is not freed or pointed-to in function "mxml_parse_element". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1837:33: noescape: "mxml_parse_element" does not free or save its pointer parameter "node". FINDING #153 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1378: alloc_fn: Calling allocation function "mxmlNewInteger". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:372: alloc_fn: Storage is returned from allocation function "mxml_new". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:628: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:628: var_assign: Assigning: "node" = "calloc(1UL, sizeof (mxml_node_t) /*72*/)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:658: return_alloc: Returning allocated memory "node". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:372: var_assign: Assigning: "node" = "mxml_new(parent, MXML_INTEGER)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:375: return_alloc: Returning allocated memory "node". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1378: var_assign: Assigning: "node" = storage returned from "mxmlNewInteger(parent, strtol(buffer, &bufptr, 0))". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1816: leaked_storage: Variable "node" going out of scope leaks the storage it points to. [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1828: leaked_storage: Variable "node" going out of scope leaks the storage it points to. FINDING #154 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1382: alloc_fn: Calling allocation function "mxmlNewOpaque". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:411: alloc_fn: Storage is returned from allocation function "mxml_new". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:628: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:628: var_assign: Assigning: "node" = "calloc(1UL, sizeof (mxml_node_t) /*72*/)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:658: return_alloc: Returning allocated memory "node". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:411: var_assign: Assigning: "node" = "mxml_new(parent, MXML_OPAQUE)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:414: return_alloc: Returning allocated memory "node". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1382: var_assign: Assigning: "node" = storage returned from "mxmlNewOpaque(parent, buffer)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1816: leaked_storage: Variable "node" going out of scope leaks the storage it points to. [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1828: leaked_storage: Variable "node" going out of scope leaks the storage it points to. FINDING #155 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1386: alloc_fn: Calling allocation function "mxmlNewReal". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:441: alloc_fn: Storage is returned from allocation function "mxml_new". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:628: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:628: var_assign: Assigning: "node" = "calloc(1UL, sizeof (mxml_node_t) /*72*/)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:658: return_alloc: Returning allocated memory "node". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:441: var_assign: Assigning: "node" = "mxml_new(parent, MXML_REAL)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:444: return_alloc: Returning allocated memory "node". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1386: var_assign: Assigning: "node" = storage returned from "mxmlNewReal(parent, strtod(buffer, &bufptr))". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1816: leaked_storage: Variable "node" going out of scope leaks the storage it points to. [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1828: leaked_storage: Variable "node" going out of scope leaks the storage it points to. FINDING #156 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1672: overwrite_var: Overwriting "node" in call "node = mxmlNewElement(parent, buffer)" leaks the storage that "node" points to. [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1732: alloc_fn: Calling allocation function "mxmlNewElement". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:342: alloc_fn: Storage is returned from allocation function "mxml_new". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:628: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:628: var_assign: Assigning: "node" = "calloc(1UL, sizeof (mxml_node_t) /*72*/)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:658: return_alloc: Returning allocated memory "node". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:342: var_assign: Assigning: "node" = "mxml_new(parent, MXML_ELEMENT)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:345: return_alloc: Returning allocated memory "node". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1732: var_assign: Assigning: "node" = storage returned from "mxmlNewElement(parent, buffer)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1746: noescape: Variable "node" is not freed or pointed-to in function "mxml_parse_element". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1837:33: noescape: "mxml_parse_element" does not free or save its pointer parameter "node". FINDING #157 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1378: overwrite_var: Overwriting "node" in call "node = mxmlNewInteger(parent, strtol(buffer, &bufptr, 0))" leaks the storage that "node" points to. [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1732: alloc_fn: Calling allocation function "mxmlNewElement". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:342: alloc_fn: Storage is returned from allocation function "mxml_new". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:628: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:628: var_assign: Assigning: "node" = "calloc(1UL, sizeof (mxml_node_t) /*72*/)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:658: return_alloc: Returning allocated memory "node". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:342: var_assign: Assigning: "node" = "mxml_new(parent, MXML_ELEMENT)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:345: return_alloc: Returning allocated memory "node". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1732: var_assign: Assigning: "node" = storage returned from "mxmlNewElement(parent, buffer)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1746: noescape: Variable "node" is not freed or pointed-to in function "mxml_parse_element". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1837:33: noescape: "mxml_parse_element" does not free or save its pointer parameter "node". FINDING #158 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1732: alloc_fn: Calling allocation function "mxmlNewElement". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:342: alloc_fn: Storage is returned from allocation function "mxml_new". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:628: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:628: var_assign: Assigning: "node" = "calloc(1UL, sizeof (mxml_node_t) /*72*/)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:658: return_alloc: Returning allocated memory "node". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:342: var_assign: Assigning: "node" = "mxml_new(parent, MXML_ELEMENT)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:345: return_alloc: Returning allocated memory "node". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1732: var_assign: Assigning: "node" = storage returned from "mxmlNewElement(parent, buffer)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1746: noescape: Variable "node" is not freed or pointed-to in function "mxml_parse_element". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1837:33: noescape: "mxml_parse_element" does not free or save its pointer parameter "node". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1816: leaked_storage: Variable "node" going out of scope leaks the storage it points to. [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1828: leaked_storage: Variable "node" going out of scope leaks the storage it points to. FINDING #159 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1390: alloc_fn: Calling allocation function "mxmlNewText". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:482: alloc_fn: Storage is returned from allocation function "mxml_new". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:628: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:628: var_assign: Assigning: "node" = "calloc(1UL, sizeof (mxml_node_t) /*72*/)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:658: return_alloc: Returning allocated memory "node". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:482: var_assign: Assigning: "node" = "mxml_new(parent, MXML_TEXT)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:488: return_alloc: Returning allocated memory "node". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1390: var_assign: Assigning: "node" = storage returned from "mxmlNewText(parent, whitespace, buffer)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1444: var_assign: Assigning: "first" = "node". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1816: leaked_storage: Variable "first" going out of scope leaks the storage it points to. [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1816: leaked_storage: Variable "node" going out of scope leaks the storage it points to. FINDING #160 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1382: overwrite_var: Overwriting "node" in call "node = mxmlNewOpaque(parent, buffer)" leaks the storage that "node" points to. [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1390: alloc_fn: Calling allocation function "mxmlNewText". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:482: alloc_fn: Storage is returned from allocation function "mxml_new". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:628: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:628: var_assign: Assigning: "node" = "calloc(1UL, sizeof (mxml_node_t) /*72*/)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:658: return_alloc: Returning allocated memory "node". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:482: var_assign: Assigning: "node" = "mxml_new(parent, MXML_TEXT)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-node.c:488: return_alloc: Returning allocated memory "node". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1390: var_assign: Assigning: "node" = storage returned from "mxmlNewText(parent, whitespace, buffer)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1444: var_assign: Assigning: "first" = "node". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/menuselect/mxml/mxml-file.c:1816: leaked_storage: Variable "first" going out of scope leaks the storage it points to. FINDING #161 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/ael.flex:792: alloc_fn: Calling allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/ael.flex:792: var_assign: Assigning: "io" = storage returned from "calloc(sizeof (struct parse_io) /*24*/, 1UL)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/ael.flex:804: leaked_storage: Variable "io" going out of scope leaks the storage it points to. FINDING #162 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/ael/pval.c:3520: alloc_fn: Calling allocation function "new_prio". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/ael/pval.c:2923: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/ael/pval.c:2923: var_assign: Assigning: "x" = "calloc(sizeof (struct ael_priority) /*64*/, 1UL)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/ael/pval.c:2924: return_alloc: Returning allocated memory "x". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/ael/pval.c:3520: var_assign: Assigning: "for_loop" = storage returned from "new_prio()". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/ael/pval.c:3648: leaked_storage: Variable "for_loop" going out of scope leaks the storage it points to. FINDING #163 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/ael/pval.c:3667: alloc_fn: Calling allocation function "new_prio". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/ael/pval.c:2923: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/ael/pval.c:2923: var_assign: Assigning: "x" = "calloc(sizeof (struct ael_priority) /*64*/, 1UL)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/ael/pval.c:2924: return_alloc: Returning allocated memory "x". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/ael/pval.c:3667: var_assign: Assigning: "while_loop" = storage returned from "new_prio()". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/ael/pval.c:3688: leaked_storage: Variable "while_loop" going out of scope leaks the storage it points to. FINDING #164 [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/pbx/pbx_lua.c:995: alloc_fn: Calling allocation function "_ast_malloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:457: alloc_fn: Storage is returned from allocation function "malloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:457: var_assign: Assigning: "p" = "malloc(len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:457: return_alloc: Returning allocated memory "p". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/pbx/pbx_lua.c:995: var_assign: Assigning: "data" = storage returned from "_ast_malloc(*size, "pbx_lua.c", 995, )". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/pbx/pbx_lua.c:1002: noescape: Variable "data" is not freed or pointed-to in function "fread". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/pbx/pbx_lua.c:1006: leaked_storage: Variable "data" going out of scope leaks the storage it points to. FINDING #165 [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/pbx/pbx_realtime.c:138: alloc_fn: Calling allocation function "__ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: alloc_fn: Storage is returned from allocation function "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: var_assign: Assigning: "multi_iterator" = "_ast_calloc(1UL, sizeof (*multi_iterator) /*40*/, "astobj2.c", 613, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:752: return_alloc: Returning allocated memory "multi_iterator". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: return_alloc_fn: Directly returning storage allocated by "internal_ao2_callback". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/pbx/pbx_realtime.c:138: leaked_storage: Failing to save storage allocated by "__ao2_callback(cache, (enum search_flags)7, purge_old_fn, &now)" leaks it. FINDING #166 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/ael/pval.c:5610: alloc_fn: Calling allocation function "pvalCreateNode". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/ael/pval.c:4994: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/ael/pval.c:4994: var_assign: Assigning: "p" = "calloc(1UL, sizeof (pval) /*96*/)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/ael/pval.c:4996: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/ael/pval.c:5610: var_assign: Assigning: "hr" = storage returned from "pvalCreateNode(PV_WORD)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/ael/pval.c:5615: leaked_storage: Variable "hr" going out of scope leaks the storage it points to. FINDING #167 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/ael/pval.c:5611: alloc_fn: Calling allocation function "pvalCreateNode". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/ael/pval.c:4994: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/ael/pval.c:4994: var_assign: Assigning: "p" = "calloc(1UL, sizeof (pval) /*96*/)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/ael/pval.c:4996: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/ael/pval.c:5611: var_assign: Assigning: "dow" = storage returned from "pvalCreateNode(PV_WORD)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/ael/pval.c:5615: leaked_storage: Variable "dow" going out of scope leaks the storage it points to. FINDING #168 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/ael/pval.c:5612: alloc_fn: Calling allocation function "pvalCreateNode". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/ael/pval.c:4994: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/ael/pval.c:4994: var_assign: Assigning: "p" = "calloc(1UL, sizeof (pval) /*96*/)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/ael/pval.c:4996: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/ael/pval.c:5612: var_assign: Assigning: "dom" = storage returned from "pvalCreateNode(PV_WORD)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/ael/pval.c:5615: leaked_storage: Variable "dom" going out of scope leaks the storage it points to. FINDING #169 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/ael/pval.c:5613: alloc_fn: Calling allocation function "pvalCreateNode". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/ael/pval.c:4994: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/ael/pval.c:4994: var_assign: Assigning: "p" = "calloc(1UL, sizeof (pval) /*96*/)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/ael/pval.c:4996: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/ael/pval.c:5613: var_assign: Assigning: "mon" = storage returned from "pvalCreateNode(PV_WORD)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/ael/pval.c:5615: leaked_storage: Variable "mon" going out of scope leaks the storage it points to. FINDING #170 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/ael/pval.c:5356: alloc_fn: Calling allocation function "pvalCreateNode". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/ael/pval.c:4994: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/ael/pval.c:4994: var_assign: Assigning: "p" = "calloc(1UL, sizeof (pval) /*96*/)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/ael/pval.c:4996: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/ael/pval.c:5356: var_assign: Assigning: "hr" = storage returned from "pvalCreateNode(PV_WORD)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/ael/pval.c:5363: leaked_storage: Variable "hr" going out of scope leaks the storage it points to. FINDING #171 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/ael/pval.c:5357: alloc_fn: Calling allocation function "pvalCreateNode". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/ael/pval.c:4994: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/ael/pval.c:4994: var_assign: Assigning: "p" = "calloc(1UL, sizeof (pval) /*96*/)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/ael/pval.c:4996: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/ael/pval.c:5357: var_assign: Assigning: "dom" = storage returned from "pvalCreateNode(PV_WORD)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/ael/pval.c:5363: leaked_storage: Variable "dom" going out of scope leaks the storage it points to. FINDING #172 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/ael/pval.c:5358: alloc_fn: Calling allocation function "pvalCreateNode". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/ael/pval.c:4994: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/ael/pval.c:4994: var_assign: Assigning: "p" = "calloc(1UL, sizeof (pval) /*96*/)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/ael/pval.c:4996: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/ael/pval.c:5358: var_assign: Assigning: "dow" = storage returned from "pvalCreateNode(PV_WORD)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/ael/pval.c:5363: leaked_storage: Variable "dow" going out of scope leaks the storage it points to. FINDING #173 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/ael/pval.c:5359: alloc_fn: Calling allocation function "pvalCreateNode". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/ael/pval.c:4994: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/ael/pval.c:4994: var_assign: Assigning: "p" = "calloc(1UL, sizeof (pval) /*96*/)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/ael/pval.c:4996: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/ael/pval.c:5359: var_assign: Assigning: "mon" = storage returned from "pvalCreateNode(PV_WORD)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/ael/pval.c:5363: leaked_storage: Variable "mon" going out of scope leaks the storage it points to. FINDING #174 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/ael/pval.c:5360: alloc_fn: Calling allocation function "pvalCreateNode". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/ael/pval.c:4994: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/ael/pval.c:4994: var_assign: Assigning: "p" = "calloc(1UL, sizeof (pval) /*96*/)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/ael/pval.c:4996: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/ael/pval.c:5360: var_assign: Assigning: "s" = storage returned from "pvalCreateNode(PV_WORD)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/ael/pval.c:5363: leaked_storage: Variable "s" going out of scope leaks the storage it points to. FINDING #175 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_calendar.c:593: alloc_fn: Calling allocation function "__ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: alloc_fn: Storage is returned from allocation function "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: var_assign: Assigning: "multi_iterator" = "_ast_calloc(1UL, sizeof (*multi_iterator) /*40*/, "astobj2.c", 613, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:752: return_alloc: Returning allocated memory "multi_iterator". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: return_alloc_fn: Directly returning storage allocated by "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_calendar.c:593: leaked_storage: Failing to save storage allocated by "__ao2_callback(cal->events, (enum search_flags)7, clear_events_cb, NULL)" leaks it. FINDING #176 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_calendar.c:956: alloc_fn: Calling allocation function "__ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: alloc_fn: Storage is returned from allocation function "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: var_assign: Assigning: "multi_iterator" = "_ast_calloc(1UL, sizeof (*multi_iterator) /*40*/, "astobj2.c", 613, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:752: return_alloc: Returning allocated memory "multi_iterator". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: return_alloc_fn: Directly returning storage allocated by "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_calendar.c:956: leaked_storage: Failing to save storage allocated by "__ao2_callback(cal->events, (enum search_flags)7, merge_events_cb, new_events)" leaks it. FINDING #177 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_calendar.c:959: alloc_fn: Calling allocation function "__ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: alloc_fn: Storage is returned from allocation function "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: var_assign: Assigning: "multi_iterator" = "_ast_calloc(1UL, sizeof (*multi_iterator) /*40*/, "astobj2.c", 613, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:752: return_alloc: Returning allocated memory "multi_iterator". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: return_alloc_fn: Directly returning storage allocated by "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_calendar.c:959: leaked_storage: Failing to save storage allocated by "__ao2_callback(new_events, (enum search_flags)7, add_new_event_cb, cal->events)" leaks it. FINDING #178 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_calendar.c:527: alloc_fn: Calling allocation function "__ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: alloc_fn: Storage is returned from allocation function "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: var_assign: Assigning: "multi_iterator" = "_ast_calloc(1UL, sizeof (*multi_iterator) /*40*/, "astobj2.c", 613, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:752: return_alloc: Returning allocated memory "multi_iterator". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: return_alloc_fn: Directly returning storage allocated by "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_calendar.c:527: leaked_storage: Failing to save storage allocated by "__ao2_callback(calendars, (enum search_flags)7, match_caltech_cb, tech)" leaks it. FINDING #179 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_calendar.c:353: alloc_fn: Calling allocation function "__ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: alloc_fn: Storage is returned from allocation function "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: var_assign: Assigning: "multi_iterator" = "_ast_calloc(1UL, sizeof (*multi_iterator) /*40*/, "astobj2.c", 613, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:752: return_alloc: Returning allocated memory "multi_iterator". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: return_alloc_fn: Directly returning storage allocated by "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_calendar.c:353: leaked_storage: Failing to save storage allocated by "__ao2_callback(cal->events, OBJ_NODATA, calendar_busy_callback, &is_busy)" leaks it. FINDING #180 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_calendar.c:999: alloc_fn: Calling allocation function "find_calendar". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_calendar.c:276: alloc_fn: Storage is returned from allocation function "__ao2_find". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:796: alloc_fn: Storage is returned from allocation function "__ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: alloc_fn: Storage is returned from allocation function "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: var_assign: Assigning: "multi_iterator" = "_ast_calloc(1UL, sizeof (*multi_iterator) /*40*/, "astobj2.c", 613, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:752: return_alloc: Returning allocated memory "multi_iterator". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: return_alloc_fn: Directly returning storage allocated by "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:796: return_alloc_fn: Directly returning storage allocated by "__ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_calendar.c:276: return_alloc_fn: Directly returning storage allocated by "__ao2_find". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_calendar.c:999: var_assign: Assigning: "cal" = storage returned from "find_calendar(data)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_calendar.c:1006: noescape: Variable "cal" is not freed or pointed-to in function "calendar_is_busy". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_calendar.c:349:50: noescape: "calendar_is_busy" does not free or save its pointer parameter "cal". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_calendar.c:1008: leaked_storage: Variable "cal" going out of scope leaks the storage it points to. FINDING #181 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_calendar.c:1141: alloc_fn: Calling allocation function "__ao2_alloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:340: alloc_fn: Storage is returned from allocation function "internal_ao2_alloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:295: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:295: var_assign: Assigning: "obj" = "_ast_calloc(1UL, sizeof (*obj) /*88*/ + data_size, "astobj2.c", 295, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:314: return_alloc: Returning allocated memory "obj". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:340: return_alloc_fn: Directly returning storage allocated by "internal_ao2_alloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_calendar.c:1141: var_assign: Assigning: "events" = storage returned from "__ao2_alloc(sizeof (*events) /*16*/, eventlist_destructor)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_calendar.c:1159: noescape: Variable "events" is not freed or pointed-to in function "add_event_to_list". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_calendar.c:1016:48: noescape: "add_event_to_list" does not free or save its pointer parameter "events". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_calendar.c:1162: leaked_storage: Variable "events" going out of scope leaks the storage it points to. [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_calendar.c:1178: leaked_storage: Variable "events" going out of scope leaks the storage it points to. FINDING #182 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_calendar.c:1136: alloc_fn: Calling allocation function "find_calendar". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_calendar.c:276: alloc_fn: Storage is returned from allocation function "__ao2_find". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:796: alloc_fn: Storage is returned from allocation function "__ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: alloc_fn: Storage is returned from allocation function "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: var_assign: Assigning: "multi_iterator" = "_ast_calloc(1UL, sizeof (*multi_iterator) /*40*/, "astobj2.c", 613, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:752: return_alloc: Returning allocated memory "multi_iterator". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: return_alloc_fn: Directly returning storage allocated by "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:796: return_alloc_fn: Directly returning storage allocated by "__ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_calendar.c:276: return_alloc_fn: Directly returning storage allocated by "__ao2_find". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_calendar.c:1136: var_assign: Assigning: "cal" = storage returned from "find_calendar(args.calendar)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_calendar.c:1162: leaked_storage: Variable "cal" going out of scope leaks the storage it points to. [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_calendar.c:1178: leaked_storage: Variable "cal" going out of scope leaks the storage it points to. [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_calendar.c:1188: leaked_storage: Variable "cal" going out of scope leaks the storage it points to. FINDING #183 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_calendar.c:362: alloc_fn: Calling allocation function "find_calendar". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_calendar.c:276: alloc_fn: Storage is returned from allocation function "__ao2_find". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:796: alloc_fn: Storage is returned from allocation function "__ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: alloc_fn: Storage is returned from allocation function "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: var_assign: Assigning: "multi_iterator" = "_ast_calloc(1UL, sizeof (*multi_iterator) /*40*/, "astobj2.c", 613, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:752: return_alloc: Returning allocated memory "multi_iterator". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: return_alloc_fn: Directly returning storage allocated by "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:796: return_alloc_fn: Directly returning storage allocated by "__ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_calendar.c:276: return_alloc_fn: Directly returning storage allocated by "__ao2_find". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_calendar.c:362: var_assign: Assigning: "cal" = storage returned from "find_calendar(data)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_calendar.c:370: noescape: Variable "cal" is not freed or pointed-to in function "calendar_is_busy". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_calendar.c:349:50: noescape: "calendar_is_busy" does not free or save its pointer parameter "cal". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_calendar.c:370: leaked_storage: Variable "cal" going out of scope leaks the storage it points to. FINDING #184 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_calendar.c:1648: alloc_fn: Calling allocation function "__ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: alloc_fn: Storage is returned from allocation function "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: var_assign: Assigning: "multi_iterator" = "_ast_calloc(1UL, sizeof (*multi_iterator) /*40*/, "astobj2.c", 613, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:752: return_alloc: Returning allocated memory "multi_iterator". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: return_alloc_fn: Directly returning storage allocated by "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_calendar.c:1648: leaked_storage: Failing to save storage allocated by "__ao2_callback(calendars, (enum search_flags)6, cb_pending_deletion, NULL)" leaks it. FINDING #185 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_calendar.c:1660: alloc_fn: Calling allocation function "__ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: alloc_fn: Storage is returned from allocation function "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: var_assign: Assigning: "multi_iterator" = "_ast_calloc(1UL, sizeof (*multi_iterator) /*40*/, "astobj2.c", 613, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:752: return_alloc: Returning allocated memory "multi_iterator". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: return_alloc_fn: Directly returning storage allocated by "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_calendar.c:1660: leaked_storage: Failing to save storage allocated by "__ao2_callback(calendars, (enum search_flags)7, cb_rm_pending_deletion, NULL)" leaks it. FINDING #186 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_calendar.c:1705: alloc_fn: Calling allocation function "__ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: alloc_fn: Storage is returned from allocation function "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: var_assign: Assigning: "multi_iterator" = "_ast_calloc(1UL, sizeof (*multi_iterator) /*40*/, "astobj2.c", 613, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:752: return_alloc: Returning allocated memory "multi_iterator". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: return_alloc_fn: Directly returning storage allocated by "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_calendar.c:1705: leaked_storage: Failing to save storage allocated by "__ao2_callback(calendars, (enum search_flags)7, NULL, NULL)" leaks it. FINDING #187 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_calendar_caldav.c:404: alloc_fn: Calling allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_calendar_caldav.c:404: var_assign: Assigning: "attendee" = storage returned from "_ast_calloc(1UL, sizeof (*attendee) /*16*/, "res_calendar_caldav.c", 404, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_calendar_caldav.c:413: leaked_storage: Variable "attendee" going out of scope leaks the storage it points to. FINDING #188 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_calendar_caldav.c:84: alloc_fn: Calling allocation function "__ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: alloc_fn: Storage is returned from allocation function "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: var_assign: Assigning: "multi_iterator" = "_ast_calloc(1UL, sizeof (*multi_iterator) /*40*/, "astobj2.c", 613, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:752: return_alloc: Returning allocated memory "multi_iterator". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: return_alloc_fn: Directly returning storage allocated by "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_calendar_caldav.c:84: leaked_storage: Failing to save storage allocated by "__ao2_callback(pvt->events, (enum search_flags)7, NULL, NULL)" leaks it. FINDING #189 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_calendar_caldav.c:183: alloc_fn: Calling allocation function "ast_str_create". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/strings.h:405: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/strings.h:405: var_assign: Assigning: "buf" = "_ast_calloc(1UL, sizeof (*buf) /*24*/ + init_len, "/builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/strings.h", 420, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/strings.h:405: return_alloc: Returning allocated memory "buf". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_calendar_caldav.c:183: var_assign: Assigning: "response" = storage returned from "ast_str_create(512UL)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_calendar_caldav.c:247: overwrite_var: Overwriting "response" in call "response = caldav_request(pvt, "PUT", body, subdir, "text/calendar")" leaks the storage that "response" points to. FINDING #190 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_calendar_ews.c:419: alloc_fn: Calling allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_calendar_ews.c:419: var_assign: Assigning: "attendee" = storage returned from "_ast_calloc(1UL, sizeof (*attendee) /*16*/, "res_calendar_ews.c", 419, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_calendar_ews.c:430: leaked_storage: Variable "attendee" going out of scope leaks the storage it points to. FINDING #191 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_calendar_ews.c:121: alloc_fn: Calling allocation function "__ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: alloc_fn: Storage is returned from allocation function "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: var_assign: Assigning: "multi_iterator" = "_ast_calloc(1UL, sizeof (*multi_iterator) /*40*/, "astobj2.c", 613, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:752: return_alloc: Returning allocated memory "multi_iterator". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: return_alloc_fn: Directly returning storage allocated by "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_calendar_ews.c:121: leaked_storage: Failing to save storage allocated by "__ao2_callback(pvt->events, (enum search_flags)7, NULL, NULL)" leaks it. FINDING #192 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_calendar_exchange.c:228: alloc_fn: Calling allocation function "__ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: alloc_fn: Storage is returned from allocation function "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: var_assign: Assigning: "multi_iterator" = "_ast_calloc(1UL, sizeof (*multi_iterator) /*40*/, "astobj2.c", 613, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:752: return_alloc: Returning allocated memory "multi_iterator". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: return_alloc_fn: Directly returning storage allocated by "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_calendar_exchange.c:228: leaked_storage: Failing to save storage allocated by "__ao2_callback(pvt->events, (enum search_flags)7, NULL, NULL)" leaks it. FINDING #193 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_calendar_exchange.c:435: alloc_fn: Calling allocation function "ast_str_create". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/strings.h:405: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/strings.h:405: var_assign: Assigning: "buf" = "_ast_calloc(1UL, sizeof (*buf) /*24*/ + init_len, "/builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/strings.h", 420, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/strings.h:405: return_alloc: Returning allocated memory "buf". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_calendar_exchange.c:435: var_assign: Assigning: "response" = storage returned from "ast_str_create(512UL)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_calendar_exchange.c:508: overwrite_var: Overwriting "response" in call "response = exchangecal_request(event->owner->tech_pvt, "PROPPATCH", body, subdir)" leaks the storage that "response" points to. FINDING #194 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_calendar_icalendar.c:258: alloc_fn: Calling allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_calendar_icalendar.c:258: var_assign: Assigning: "attendee" = storage returned from "_ast_calloc(1UL, sizeof (*attendee) /*16*/, "res_calendar_icalendar.c", 258, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_calendar_icalendar.c:267: leaked_storage: Variable "attendee" going out of scope leaks the storage it points to. FINDING #195 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_calendar_icalendar.c:83: alloc_fn: Calling allocation function "__ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: alloc_fn: Storage is returned from allocation function "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: var_assign: Assigning: "multi_iterator" = "_ast_calloc(1UL, sizeof (*multi_iterator) /*40*/, "astobj2.c", 613, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:752: return_alloc: Returning allocated memory "multi_iterator". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: return_alloc_fn: Directly returning storage allocated by "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_calendar_icalendar.c:83: leaked_storage: Failing to save storage allocated by "__ao2_callback(pvt->events, (enum search_flags)7, NULL, NULL)" leaks it. FINDING #196 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_clialiases.c:191: alloc_fn: Calling allocation function "__ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: alloc_fn: Storage is returned from allocation function "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: var_assign: Assigning: "multi_iterator" = "_ast_calloc(1UL, sizeof (*multi_iterator) /*40*/, "astobj2.c", 613, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:752: return_alloc: Returning allocated memory "multi_iterator". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: return_alloc_fn: Directly returning storage allocated by "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_clialiases.c:191: leaked_storage: Failing to save storage allocated by "__ao2_callback(cli_aliases, (enum search_flags)7, NULL, NULL)" leaks it. FINDING #197 [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_config_ldap.c:619: alloc_fn: Calling allocation function "_ast_realloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:516: alloc_fn: Storage is returned from allocation function "realloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:516: var_assign: Assigning: "newp" = "realloc(p, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:516: return_alloc: Returning allocated memory "newp". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_config_ldap.c:619: var_assign: Assigning: "vars" = storage returned from "_ast_realloc(vars, sizeof (struct ast_variable *) /*8*/, "res_config_ldap.c", 619, )". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_config_ldap.c:624: leaked_storage: Variable "vars" going out of scope leaks the storage it points to. FINDING #198 [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_config_ldap.c:1066: alloc_fn: Calling allocation function "realtime_ldap_base". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_config_ldap.c:911: alloc_fn: Storage is returned from allocation function "realtime_ldap_base_ap". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_config_ldap.c:831: alloc_fn: Storage is returned from allocation function "realtime_ldap_result_to_vars". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_config_ldap.c:396: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_config_ldap.c:396: var_assign: Assigning: "vars" = "_ast_calloc(sizeof (struct ast_variable *) /*8*/, tot_count + 1, "res_config_ldap.c", 396, )". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_config_ldap.c:541: return_alloc: Returning allocated memory "vars". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_config_ldap.c:831: var_assign: Assigning: "vars" = "realtime_ldap_result_to_vars(table_config, ldap_result_msg, entries_count_ptr)". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_config_ldap.c:840: var_assign: Assigning: "p" = "vars". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_config_ldap.c:900: return_alloc: Returning allocated memory "vars". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_config_ldap.c:911: var_assign: Assigning: "vars" = "realtime_ldap_base_ap(entries_count_ptr, basedn, table_name, ap)". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_config_ldap.c:914: return_alloc: Returning allocated memory "vars". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_config_ldap.c:1066: var_assign: Assigning: "vars" = storage returned from "realtime_ldap_base(&vars_count, basedn, table_name, "filename", file, "commented", "FALSE", NULL)". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_config_ldap.c:1078: leaked_storage: Variable "vars" going out of scope leaks the storage it points to. FINDING #199 [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_config_ldap.c:1207: alloc_fn: Calling allocation function "cleaned_basedn". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_config_ldap.c:648: alloc_fn: Storage is returned from allocation function "substituted". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_config_ldap.c:635: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_config_ldap.c:635: var_assign: Assigning: "ret_string" = "_ast_calloc(1UL, 2048UL, "res_config_ldap.c", 635, )". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_config_ldap.c:636: noescape: Variable "ret_string" is not freed or pointed-to in function "pbx_substitute_variables_helper". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/pbx.c:4007:84: noescape: "pbx_substitute_variables_helper" does not free or save its pointer parameter "cp2". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_config_ldap.c:639: return_alloc: Returning allocated memory "ret_string". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_config_ldap.c:648: var_assign: Assigning: "cbasedn" = "substituted(channel, basedn)". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_config_ldap.c:651: noescape: Variable "cbasedn" is not freed or pointed-to in function "ast_strlen_zero". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/strings.h:63:68: noescape: "ast_strlen_zero" does not free or save its pointer parameter "s". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_config_ldap.c:652: noescape: Variable "cbasedn" is not freed or pointed-to in function "strlen". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_config_ldap.c:658: var_assign: Assigning: "p" = "cbasedn". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_config_ldap.c:666: return_alloc: Returning allocated memory "cbasedn". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_config_ldap.c:1207: var_assign: Assigning: "clean_basedn" = storage returned from "cleaned_basedn(NULL, basedn)". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_config_ldap.c:1228: leaked_storage: Variable "clean_basedn" going out of scope leaks the storage it points to. FINDING #200 [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_config_ldap.c:1184: alloc_fn: Calling allocation function "ast_str_create". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/strings.h:405: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/strings.h:405: var_assign: Assigning: "buf" = "_ast_calloc(1UL, sizeof (*buf) /*24*/ + init_len, "/builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/strings.h", 420, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/strings.h:405: return_alloc: Returning allocated memory "buf". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_config_ldap.c:1184: var_assign: Assigning: "filter" = storage returned from "ast_str_create(80UL)". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_config_ldap.c:1190: leaked_storage: Variable "filter" going out of scope leaks the storage it points to. [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_config_ldap.c:1197: leaked_storage: Variable "filter" going out of scope leaks the storage it points to. [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_config_ldap.c:1204: leaked_storage: Variable "filter" going out of scope leaks the storage it points to. FINDING #201 [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_config_pgsql.c:464: alloc_fn: Calling allocation function "ast_config_new". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/config.c:679: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/config.c:679: var_assign: Assigning: "config" = "_ast_calloc(1UL, sizeof (*config) /*48*/, "config.c", 679, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/config.c:681: return_alloc: Returning allocated memory "config". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_config_pgsql.c:464: var_assign: Assigning: "cfg" = storage returned from "ast_config_new()". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_config_pgsql.c:477: leaked_storage: Variable "cfg" going out of scope leaks the storage it points to. [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_config_pgsql.c:497: leaked_storage: Variable "cfg" going out of scope leaks the storage it points to. [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_config_pgsql.c:512: leaked_storage: Variable "cfg" going out of scope leaks the storage it points to. [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_config_pgsql.c:528: leaked_storage: Variable "cfg" going out of scope leaks the storage it points to. [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_config_pgsql.c:537: leaked_storage: Variable "cfg" going out of scope leaks the storage it points to. [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_config_pgsql.c:550: leaked_storage: Variable "cfg" going out of scope leaks the storage it points to. [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_config_pgsql.c:567: leaked_storage: Variable "cfg" going out of scope leaks the storage it points to. FINDING #202 [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_jabber.c:2225: alloc_fn: Calling allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_jabber.c:2225: var_assign: Assigning: "insert" = storage returned from "_ast_calloc(1UL, sizeof (*insert) /*72*/, "res_jabber.c", 2225, )". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_jabber.c:2247: leaked_storage: Variable "insert" going out of scope leaks the storage it points to. FINDING #203 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_musiconhold.c:1038: alloc_fn: Calling allocation function "opendir". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_musiconhold.c:1038: var_assign: Assigning: "files_DIR" = storage returned from "opendir(dir_path)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_musiconhold.c:1050: leaked_storage: Variable "files_DIR" going out of scope leaks the storage it points to. [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_musiconhold.c:1054: leaked_storage: Variable "files_DIR" going out of scope leaks the storage it points to. FINDING #204 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_musiconhold.c:1740: alloc_fn: Calling allocation function "__ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: alloc_fn: Storage is returned from allocation function "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: var_assign: Assigning: "multi_iterator" = "_ast_calloc(1UL, sizeof (*multi_iterator) /*40*/, "astobj2.c", 613, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:752: return_alloc: Returning allocated memory "multi_iterator". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: return_alloc_fn: Directly returning storage allocated by "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_musiconhold.c:1740: leaked_storage: Failing to save storage allocated by "__ao2_callback(mohclasses, (enum search_flags)7, NULL, NULL)" leaks it. FINDING #205 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_musiconhold.c:1640: alloc_fn: Calling allocation function "__ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: alloc_fn: Storage is returned from allocation function "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: var_assign: Assigning: "multi_iterator" = "_ast_calloc(1UL, sizeof (*multi_iterator) /*40*/, "astobj2.c", 613, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:752: return_alloc: Returning allocated memory "multi_iterator". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: return_alloc_fn: Directly returning storage allocated by "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_musiconhold.c:1640: leaked_storage: Failing to save storage allocated by "__ao2_callback(mohclasses, OBJ_NODATA, moh_class_mark, NULL)" leaks it. FINDING #206 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_musiconhold.c:1641: alloc_fn: Calling allocation function "__ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: alloc_fn: Storage is returned from allocation function "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: var_assign: Assigning: "multi_iterator" = "_ast_calloc(1UL, sizeof (*multi_iterator) /*40*/, "astobj2.c", 613, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:752: return_alloc: Returning allocated memory "multi_iterator". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: return_alloc_fn: Directly returning storage allocated by "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_musiconhold.c:1641: leaked_storage: Failing to save storage allocated by "__ao2_callback(mohclasses, (enum search_flags)7, moh_classes_delete_marked, NULL)" leaks it. FINDING #207 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_musiconhold.c:1651: alloc_fn: Calling allocation function "__ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: alloc_fn: Storage is returned from allocation function "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: var_assign: Assigning: "multi_iterator" = "_ast_calloc(1UL, sizeof (*multi_iterator) /*40*/, "astobj2.c", 613, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:752: return_alloc: Returning allocated memory "multi_iterator". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: return_alloc_fn: Directly returning storage allocated by "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_musiconhold.c:1651: leaked_storage: Failing to save storage allocated by "__ao2_callback(mohclasses, OBJ_NODATA, moh_class_mark, NULL)" leaks it. FINDING #208 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_musiconhold.c:1731: alloc_fn: Calling allocation function "__ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: alloc_fn: Storage is returned from allocation function "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: var_assign: Assigning: "multi_iterator" = "_ast_calloc(1UL, sizeof (*multi_iterator) /*40*/, "astobj2.c", 613, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:752: return_alloc: Returning allocated memory "multi_iterator". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: return_alloc_fn: Directly returning storage allocated by "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_musiconhold.c:1731: leaked_storage: Failing to save storage allocated by "__ao2_callback(mohclasses, (enum search_flags)7, moh_classes_delete_marked, NULL)" leaks it. FINDING #209 [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_phoneprov.c:1165: alloc_arg: Calling allocation function "load_file" on "file". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_phoneprov.c:330: alloc_fn: Storage is returned from allocation function "_ast_malloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:457: alloc_fn: Storage is returned from allocation function "malloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:457: var_assign: Assigning: "p" = "malloc(len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:457: return_alloc: Returning allocated memory "p". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_phoneprov.c:330: var_assign: Assigning: "*ret" = "_ast_malloc(len + 1, "res_phoneprov.c", 330, )". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_phoneprov.c:333: noescape: Variable "*ret" is not freed or pointed-to in function "fread". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_phoneprov.c:1179: leaked_storage: Variable "file" going out of scope leaks the storage it points to. FINDING #210 [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_phoneprov.c:1159: alloc_fn: Calling allocation function "find_user". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_phoneprov.c:772: alloc_fn: Storage is returned from allocation function "__ao2_find". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:796: alloc_fn: Storage is returned from allocation function "__ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: alloc_fn: Storage is returned from allocation function "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: var_assign: Assigning: "multi_iterator" = "_ast_calloc(1UL, sizeof (*multi_iterator) /*40*/, "astobj2.c", 613, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:752: return_alloc: Returning allocated memory "multi_iterator". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: return_alloc_fn: Directly returning storage allocated by "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:796: return_alloc_fn: Directly returning storage allocated by "__ao2_callback". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_phoneprov.c:772: return_alloc_fn: Directly returning storage allocated by "__ao2_find". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_phoneprov.c:1159: var_assign: Assigning: "user" = storage returned from "find_user(args.mac)". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_phoneprov.c:1171: leaked_storage: Variable "user" going out of scope leaks the storage it points to. [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_phoneprov.c:1175: leaked_storage: Variable "user" going out of scope leaks the storage it points to. [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_phoneprov.c:1179: leaked_storage: Variable "user" going out of scope leaks the storage it points to. FINDING #211 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_rtp_asterisk.c:455: alloc_fn: Calling allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_rtp_asterisk.c:455: var_assign: Assigning: "rtp" = storage returned from "_ast_calloc(1UL, sizeof (*rtp) /*8968*/, "res_rtp_asterisk.c", 455, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_rtp_asterisk.c:496: leaked_storage: Variable "rtp" going out of scope leaks the storage it points to. FINDING #212 [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_smdi.c:1058: alloc_fn: Calling allocation function "alloc_smdi_interface". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_smdi.c:929: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_smdi.c:929: var_assign: Assigning: "iface" = "_ast_calloc(1UL, sizeof (*iface) /*760*/, "res_smdi.c", 929, )". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_smdi.c:942: return_alloc: Returning allocated memory "iface". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_smdi.c:1058: var_assign: Assigning: "iface" = storage returned from "alloc_smdi_interface()". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_smdi.c:1067: noescape: Variable "iface" is not freed or pointed-to in function "__ast_pthread_mutex_lock". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/lock.c:157:81: noescape: "__ast_pthread_mutex_lock" does not free or save its pointer parameter "t". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_smdi.c:1067: noescape: Variable "iface" is not freed or pointed-to in function "__ast_pthread_mutex_unlock". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/lock.c:363:48: noescape: "__ast_pthread_mutex_unlock" does not free or save its pointer parameter "t". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_smdi.c:1067: overwrite_var: Overwriting "iface" in call "iface = NULL" leaks the storage that "iface" points to. FINDING #213 [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_smdi.c:1058: alloc_fn: Calling allocation function "alloc_smdi_interface". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_smdi.c:929: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_smdi.c:929: var_assign: Assigning: "iface" = "_ast_calloc(1UL, sizeof (*iface) /*760*/, "res_smdi.c", 929, )". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_smdi.c:942: return_alloc: Returning allocated memory "iface". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_smdi.c:1058: var_assign: Assigning: "iface" = storage returned from "alloc_smdi_interface()". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_smdi.c:1076: noescape: Variable "iface" is not freed or pointed-to in function "tcgetattr". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_smdi.c:1078: noescape: Variable "iface" is not freed or pointed-to in function "__ast_pthread_mutex_lock". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/lock.c:157:81: noescape: "__ast_pthread_mutex_lock" does not free or save its pointer parameter "t". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_smdi.c:1078: noescape: Variable "iface" is not freed or pointed-to in function "__ast_pthread_mutex_unlock". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/lock.c:363:48: noescape: "__ast_pthread_mutex_unlock" does not free or save its pointer parameter "t". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_smdi.c:1078: overwrite_var: Overwriting "iface" in call "iface = NULL" leaks the storage that "iface" points to. FINDING #214 [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_smdi.c:1058: alloc_fn: Calling allocation function "alloc_smdi_interface". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_smdi.c:929: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_smdi.c:929: var_assign: Assigning: "iface" = "_ast_calloc(1UL, sizeof (*iface) /*760*/, "res_smdi.c", 929, )". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_smdi.c:942: return_alloc: Returning allocated memory "iface". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_smdi.c:1058: var_assign: Assigning: "iface" = storage returned from "alloc_smdi_interface()". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_smdi.c:1076: noescape: Variable "iface" is not freed or pointed-to in function "tcgetattr". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_smdi.c:1083: noescape: Variable "iface" is not freed or pointed-to in function "cfsetispeed". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_smdi.c:1083: noescape: Variable "iface" is not freed or pointed-to in function "cfsetospeed". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_smdi.c:1085: noescape: Variable "iface" is not freed or pointed-to in function "__ast_pthread_mutex_lock". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/lock.c:157:81: noescape: "__ast_pthread_mutex_lock" does not free or save its pointer parameter "t". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_smdi.c:1085: noescape: Variable "iface" is not freed or pointed-to in function "__ast_pthread_mutex_unlock". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/lock.c:363:48: noescape: "__ast_pthread_mutex_unlock" does not free or save its pointer parameter "t". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_smdi.c:1085: overwrite_var: Overwriting "iface" in call "iface = NULL" leaks the storage that "iface" points to. FINDING #215 [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_smdi.c:1058: alloc_fn: Calling allocation function "alloc_smdi_interface". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_smdi.c:929: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_smdi.c:929: var_assign: Assigning: "iface" = "_ast_calloc(1UL, sizeof (*iface) /*760*/, "res_smdi.c", 929, )". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_smdi.c:942: return_alloc: Returning allocated memory "iface". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_smdi.c:1058: var_assign: Assigning: "iface" = storage returned from "alloc_smdi_interface()". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_smdi.c:1076: noescape: Variable "iface" is not freed or pointed-to in function "tcgetattr". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_smdi.c:1083: noescape: Variable "iface" is not freed or pointed-to in function "cfsetispeed". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_smdi.c:1083: noescape: Variable "iface" is not freed or pointed-to in function "cfsetospeed". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_smdi.c:1102: noescape: Variable "iface" is not freed or pointed-to in function "tcsetattr". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_smdi.c:1104: noescape: Variable "iface" is not freed or pointed-to in function "__ast_pthread_mutex_lock". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/lock.c:157:81: noescape: "__ast_pthread_mutex_lock" does not free or save its pointer parameter "t". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_smdi.c:1104: noescape: Variable "iface" is not freed or pointed-to in function "__ast_pthread_mutex_unlock". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/lock.c:363:48: noescape: "__ast_pthread_mutex_unlock" does not free or save its pointer parameter "t". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_smdi.c:1104: overwrite_var: Overwriting "iface" in call "iface = NULL" leaks the storage that "iface" points to. FINDING #216 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_srtp.c:416: alloc_fn: Calling allocation function "res_srtp_new". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_srtp.c:173: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_srtp.c:173: var_assign: Assigning: "srtp" = "_ast_calloc(1UL, sizeof (*srtp) /*8296*/, "res_srtp.c", 173, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_srtp.c:183: return_alloc: Returning allocated memory "srtp". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_srtp.c:416: var_assign: Assigning: "temp" = storage returned from "res_srtp_new()". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_srtp.c:421: leaked_storage: Variable "temp" going out of scope leaks the storage it points to. FINDING #217 [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_srtp.c:439: alloc_fn: Calling allocation function "__ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: alloc_fn: Storage is returned from allocation function "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: var_assign: Assigning: "multi_iterator" = "_ast_calloc(1UL, sizeof (*multi_iterator) /*40*/, "astobj2.c", 613, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:752: return_alloc: Returning allocated memory "multi_iterator". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: return_alloc_fn: Directly returning storage allocated by "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_srtp.c:439: leaked_storage: Failing to save storage allocated by "__ao2_callback(srtp->policies, (enum search_flags)7, NULL, NULL)" leaks it. FINDING #218 [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_timing_pthread.c:457: alloc_fn: Calling allocation function "__ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: alloc_fn: Storage is returned from allocation function "internal_ao2_callback". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: alloc_fn: Storage is returned from allocation function "_ast_calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: alloc_fn: Storage is returned from allocation function "calloc". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: var_assign: Assigning: "p" = "calloc(num, len)". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/include/asterisk/utils.h:480: return_alloc: Returning allocated memory "p". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:613: var_assign: Assigning: "multi_iterator" = "_ast_calloc(1UL, sizeof (*multi_iterator) /*40*/, "astobj2.c", 613, )". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:752: return_alloc: Returning allocated memory "multi_iterator". [core]: /builddir/build/BUILD/asterisk-1.8.6.0/main/astobj2.c:769: return_alloc_fn: Directly returning storage allocated by "internal_ao2_callback". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_timing_pthread.c:457: leaked_storage: Failing to save storage allocated by "__ao2_callback(pthread_timers, OBJ_NODATA, run_timer, NULL)" leaks it.