ERROR TYPE: RESOURCE_LEAK MODULE SUPPORT LEVEL: extended Generated on: 2012-04-10 12:02:08.360558 ------------------------------------------------ FINDING #0 [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/addons/ooh323c/src/ooCalls.c:49: alloc_fn: Calling allocation function "newContext". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/addons/ooh323c/src/context.c:160: alloc_fn: Storage is returned from allocation function "malloc". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/addons/ooh323c/src/context.c:160: var_assign: Assigning: "pctxt" = "malloc(sizeof (OOCTXT) /*312*/)". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/addons/ooh323c/src/context.c:162: noescape: Variable "pctxt" is not freed or pointed-to in function "initContext". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/addons/ooh323c/src/context.c:23:26: noescape: "initContext" does not free or save its pointer parameter "pctxt". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/addons/ooh323c/src/context.c:169: return_alloc: Returning allocated memory "pctxt". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/addons/ooh323c/src/ooCalls.c:49: var_assign: Assigning: "msgctxt" = storage returned from "newContext()". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/addons/ooh323c/src/ooCalls.c:62: leaked_storage: Variable "msgctxt" going out of scope leaks the storage it points to. FINDING #1 [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/addons/ooh323c/src/ooCalls.c:43: alloc_fn: Calling allocation function "newContext". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/addons/ooh323c/src/context.c:160: alloc_fn: Storage is returned from allocation function "malloc". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/addons/ooh323c/src/context.c:160: var_assign: Assigning: "pctxt" = "malloc(sizeof (OOCTXT) /*312*/)". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/addons/ooh323c/src/context.c:162: noescape: Variable "pctxt" is not freed or pointed-to in function "initContext". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/addons/ooh323c/src/context.c:23:26: noescape: "initContext" does not free or save its pointer parameter "pctxt". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/addons/ooh323c/src/context.c:169: return_alloc: Returning allocated memory "pctxt". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/addons/ooh323c/src/ooCalls.c:43: var_assign: Assigning: "pctxt" = storage returned from "newContext()". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/addons/ooh323c/src/ooCalls.c:53: leaked_storage: Variable "pctxt" going out of scope leaks the storage it points to. [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/addons/ooh323c/src/ooCalls.c:62: leaked_storage: Variable "pctxt" going out of scope leaks the storage it points to. FINDING #2 [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_alarmreceiver.c:397: alloc_fn: Calling allocation function "fdopen". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_alarmreceiver.c:397: var_assign: Assigning: "logfile" = storage returned from "fdopen(fd, "w")". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_alarmreceiver.c:400: noescape: Variable "logfile" is not freed or pointed-to in function "write_metadata". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_alarmreceiver.c:300:34: noescape: "write_metadata" does not free or save its pointer parameter "logfile". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_alarmreceiver.c:403: noescape: Variable "logfile" is not freed or pointed-to in function "write_event". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_alarmreceiver.c:358:31: noescape: "write_event" does not free or save its pointer parameter "logfile". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_alarmreceiver.c:407: noescape: Variable "logfile" is not freed or pointed-to in function "fflush". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_alarmreceiver.c:419: leaked_storage: Variable "logfile" going out of scope leaks the storage it points to. FINDING #3 [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_minivm.c:900: alloc_fn: Calling allocation function "fopen". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_minivm.c:900: var_assign: Assigning: "fi" = storage returned from "fopen(filename, "rb")". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_minivm.c:928: noescape: Variable "fi" is not freed or pointed-to in function "b64_inchar". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_minivm.c:859:53: noescape: "b64_inchar" does not free or save its pointer parameter "fi". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/apps/app_minivm.c:955: leaked_storage: Variable "fi" going out of scope leaks the storage it points to. FINDING #4 [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_unistim.c:3124: alloc_arg: Calling allocation function "OpenHistory" on "f". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_unistim.c:3096: alloc_fn: Storage is returned from allocation function "fopen". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_unistim.c:3096: var_assign: Assigning: "*f" = "fopen(tmp, "r")". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_unistim.c:3101: noescape: Variable "*f" is not freed or pointed-to in function "fread". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_unistim.c:3126: leaked_storage: Variable "f" going out of scope leaks the storage it points to. FINDING #5 [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_unistim.c:3294: alloc_arg: Calling allocation function "OpenHistory" on "f". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_unistim.c:3096: alloc_fn: Storage is returned from allocation function "fopen". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_unistim.c:3096: var_assign: Assigning: "*f" = "fopen(tmp, "r")". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_unistim.c:3101: noescape: Variable "*f" is not freed or pointed-to in function "fread". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_unistim.c:3296: leaked_storage: Variable "f" going out of scope leaks the storage it points to. FINDING #6 [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_unistim.c:3311: alloc_arg: Calling allocation function "OpenHistory" on "f". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_unistim.c:3096: alloc_fn: Storage is returned from allocation function "fopen". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_unistim.c:3096: var_assign: Assigning: "*f" = "fopen(tmp, "r")". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_unistim.c:3101: noescape: Variable "*f" is not freed or pointed-to in function "fread". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/channels/chan_unistim.c:3313: leaked_storage: Variable "f" going out of scope leaks the storage it points to. FINDING #7 [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/ael.y:210: noescape: Variable "yylsp" is not freed or pointed-to in function "npval2". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/ael.y:861:52: noescape: "npval2" does not free or save its pointer parameter "first". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/ael.y:295: noescape: Variable "yylsp" is not freed or pointed-to in function "npval2". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/ael.y:506: noescape: Variable "yylsp" is not freed or pointed-to in function "npval2". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/ael.y:565: noescape: Variable "yylsp" is not freed or pointed-to in function "nword". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/ael.y:875:43: noescape: "nword" does not free or save its pointer parameter "pos". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/ael.y:566: noescape: Variable "yylsp" is not freed or pointed-to in function "nword". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/ael.y:567: noescape: Variable "yylsp" is not freed or pointed-to in function "nword". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/ael.y:569: noescape: Variable "yylsp" is not freed or pointed-to in function "nword". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/ael.y:570: noescape: Variable "yylsp" is not freed or pointed-to in function "nword". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/ael.y:571: noescape: Variable "yylsp" is not freed or pointed-to in function "nword". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/ael.tab.c:2156: alloc_fn: Calling allocation function "malloc". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/ael.tab.c:2156: var_assign: Assigning: "yyptr" = storage returned from "malloc(yystacksize * 26UL + 30UL)". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/ael.tab.c:2162: var_assign: Assigning: "yyls" = "yyptr". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/ael.tab.c:2162: overwrite_var: Overwriting "yyls" in call "yyls = &yyptr->yyls_alloc" leaks the storage that "yyls" points to. [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/ael.tab.c:2162: noescape: Variable "yyls" is not freed or pointed-to in function "memcpy". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/ael.tab.c:2162: noescape: Variable "yyptr" is not freed or pointed-to in function "memcpy". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/ael.tab.c:2166: leaked_storage: Variable "yyptr" going out of scope leaks the storage it points to. [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/ael.tab.c:2172: var_assign: Assigning: "yylsp" = "yyls". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/ael.tab.c:2172: overwrite_var: Overwriting "yylsp" in call "yylsp = yyls + yysize - 1" leaks the storage that "yylsp" points to. FINDING #8 [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/ael.y:210: noescape: Variable "yylsp" is not freed or pointed-to in function "npval2". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/ael.y:861:52: noescape: "npval2" does not free or save its pointer parameter "first". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/ael.y:295: noescape: Variable "yylsp" is not freed or pointed-to in function "npval2". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/ael.y:506: noescape: Variable "yylsp" is not freed or pointed-to in function "npval2". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/ael.y:565: noescape: Variable "yylsp" is not freed or pointed-to in function "nword". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/ael.y:875:43: noescape: "nword" does not free or save its pointer parameter "pos". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/ael.y:566: noescape: Variable "yylsp" is not freed or pointed-to in function "nword". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/ael.y:567: noescape: Variable "yylsp" is not freed or pointed-to in function "nword". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/ael.y:569: noescape: Variable "yylsp" is not freed or pointed-to in function "nword". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/ael.y:570: noescape: Variable "yylsp" is not freed or pointed-to in function "nword". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/ael.y:571: noescape: Variable "yylsp" is not freed or pointed-to in function "nword". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/ael.tab.c:2156: alloc_fn: Calling allocation function "malloc". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/ael.tab.c:2156: var_assign: Assigning: "yyptr" = storage returned from "malloc(yystacksize * 26UL + 30UL)". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/ael.tab.c:2162: var_assign: Assigning: "yyls" = "yyptr". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/ael.tab.c:2162: noescape: Variable "yyptr" is not freed or pointed-to in function "memcpy". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/ael.tab.c:2166: leaked_storage: Variable "yyptr" going out of scope leaks the storage it points to. [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/ael.tab.c:2172: var_assign: Assigning: "yylsp" = "yyls". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/ael.tab.c:3750: noescape: Variable "yylsp" is not freed or pointed-to in function "yydestruct". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/ael.tab.c:1436:72: noescape: "yydestruct" does not free or save its pointer parameter "yylocationp". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/ael.tab.c:3763: leaked_storage: Variable "yyls" going out of scope leaks the storage it points to. [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/ael.tab.c:3763: leaked_storage: Variable "yylsp" going out of scope leaks the storage it points to. FINDING #9 [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_phoneprov.c:322: alloc_fn: Calling allocation function "fopen". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_phoneprov.c:322: var_assign: Assigning: "f" = storage returned from "fopen(filename, "r")". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_phoneprov.c:327: noescape: Variable "f" is not freed or pointed-to in function "fseek". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_phoneprov.c:328: noescape: Variable "f" is not freed or pointed-to in function "ftell". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_phoneprov.c:329: noescape: Variable "f" is not freed or pointed-to in function "fseek". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_phoneprov.c:331: leaked_storage: Variable "f" going out of scope leaks the storage it points to. [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_phoneprov.c:333: noescape: Variable "f" is not freed or pointed-to in function "fread". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/res/res_phoneprov.c:336: leaked_storage: Variable "f" going out of scope leaks the storage it points to. FINDING #10 [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/ael_main.c:315: alloc_fn: Calling allocation function "create_name". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/ael_main.c:87: alloc_fn: Storage is returned from allocation function "calloc". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/ael_main.c:87: var_assign: Assigning: "x" = "calloc(1UL, sizeof (*x) /*208*/)". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/ael_main.c:91: return_alloc: Returning allocated memory "x". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/ael_main.c:315: var_assign: Assigning: "x" = storage returned from "create_name(data)". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/ael_main.c:320: overwrite_var: Overwriting "x" in call "x = create_name(data)" leaks the storage that "x" points to. FINDING #11 [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/ael_main.c:315: alloc_fn: Calling allocation function "create_name". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/ael_main.c:87: alloc_fn: Storage is returned from allocation function "calloc". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/ael_main.c:87: var_assign: Assigning: "x" = "calloc(1UL, sizeof (*x) /*208*/)". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/ael_main.c:91: return_alloc: Returning allocated memory "x". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/ael_main.c:315: var_assign: Assigning: "x" = storage returned from "create_name(data)". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/ael_main.c:323: leaked_storage: Variable "x" going out of scope leaks the storage it points to. FINDING #12 [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/ael.flex:792: alloc_fn: Calling allocation function "calloc". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/ael.flex:792: var_assign: Assigning: "io" = storage returned from "calloc(sizeof (struct parse_io) /*24*/, 1UL)". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/ael.flex:804: leaked_storage: Variable "io" going out of scope leaks the storage it points to. FINDING #13 [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/ast_expr2.y:533: alloc_fn: Calling allocation function "malloc". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/ast_expr2.y:533: var_assign: Assigning: "vp" = storage returned from "malloc(sizeof (*vp) /*32*/)". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/ast_expr2.y:536: leaked_storage: Variable "vp" going out of scope leaks the storage it points to. FINDING #14 [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/ast_expr2.c:1876: alloc_fn: Calling allocation function "malloc". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/ast_expr2.c:1876: var_assign: Assigning: "yyptr" = storage returned from "malloc(yystacksize * 26UL + 30UL)". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/ast_expr2.c:1882: var_assign: Assigning: "yyls" = "yyptr". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/ast_expr2.c:1882: overwrite_var: Overwriting "yyls" in call "yyls = &yyptr->yyls_alloc" leaks the storage that "yyls" points to. [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/ast_expr2.c:1882: noescape: Variable "yyls" is not freed or pointed-to in function "memcpy". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/ast_expr2.c:1882: noescape: Variable "yyptr" is not freed or pointed-to in function "memcpy". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/ast_expr2.c:1886: leaked_storage: Variable "yyptr" going out of scope leaks the storage it points to. [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/ast_expr2.c:1892: var_assign: Assigning: "yylsp" = "yyls". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/ast_expr2.c:1892: overwrite_var: Overwriting "yylsp" in call "yylsp = yyls + yysize - 1" leaks the storage that "yylsp" points to. [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/ast_expr2.c:2426: noescape: Variable "yylsp" is not freed or pointed-to in function "yydestruct". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/ast_expr2.c:1452:72: noescape: "yydestruct" does not free or save its pointer parameter "yylocationp". FINDING #15 [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/ast_expr2.c:1876: alloc_fn: Calling allocation function "malloc". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/ast_expr2.c:1876: var_assign: Assigning: "yyptr" = storage returned from "malloc(yystacksize * 26UL + 30UL)". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/ast_expr2.c:1882: var_assign: Assigning: "yyls" = "yyptr". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/ast_expr2.c:1882: noescape: Variable "yyptr" is not freed or pointed-to in function "memcpy". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/ast_expr2.c:1886: leaked_storage: Variable "yyptr" going out of scope leaks the storage it points to. [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/ast_expr2.c:1892: var_assign: Assigning: "yylsp" = "yyls". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/ast_expr2.c:2426: noescape: Variable "yylsp" is not freed or pointed-to in function "yydestruct". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/ast_expr2.c:1452:72: noescape: "yydestruct" does not free or save its pointer parameter "yylocationp". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/ast_expr2.c:2482: noescape: Variable "yylsp" is not freed or pointed-to in function "yydestruct". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/ast_expr2.c:2495: leaked_storage: Variable "yyls" going out of scope leaks the storage it points to. [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/ast_expr2.c:2495: leaked_storage: Variable "yylsp" going out of scope leaks the storage it points to. FINDING #16 [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/extconf.c:5166: alloc_fn: Calling allocation function "_ast_calloc". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/extconf.c:998: alloc_fn: Storage is returned from allocation function "calloc". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/extconf.c:998: var_assign: Assigning: "p" = "calloc(num, len)". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/extconf.c:998: return_alloc: Returning allocated memory "p". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/extconf.c:5166: var_assign: Assigning: "ignorepat" = storage returned from "_ast_calloc(1UL, length, "extconf.c", 5166, )". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/extconf.c:5179: leaked_storage: Variable "ignorepat" going out of scope leaks the storage it points to. FINDING #17 [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/extconf.c:3852: alloc_arg: Calling allocation function "process_text_line" on "cat". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/extconf.c:3522: alloc_fn: Storage is returned from allocation function "ast_category_new". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/extconf.c:3384: alloc_fn: Storage is returned from allocation function "_ast_calloc". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/extconf.c:998: alloc_fn: Storage is returned from allocation function "calloc". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/extconf.c:998: var_assign: Assigning: "p" = "calloc(num, len)". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/extconf.c:998: return_alloc: Returning allocated memory "p". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/extconf.c:3384: var_assign: Assigning: "category" = "_ast_calloc(1UL, sizeof (*category) /*144*/, "extconf.c", 3384, )". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/extconf.c:3388: return_alloc: Returning allocated memory "category". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/extconf.c:3522: var_assign: Assigning: "newcat" = "ast_category_new(catname, (ast_strlen_zero(suggested_include_file) ? configfile : suggested_include_file), lineno)". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/extconf.c:3522: var_assign: Assigning: "*cat" = "newcat". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/extconf.c:3886: leaked_storage: Variable "cat" going out of scope leaks the storage it points to. FINDING #18 [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/frame.c:950: alloc_fn: Calling allocation function "malloc". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/frame.c:950: var_assign: Assigning: "buffer" = storage returned from "malloc(sizeof (short) /*2*/ * length)". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/frame.c:954: noescape: Variable "buffer" is not freed or pointed-to in function "fread". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/frame.c:968: leaked_storage: Variable "buffer" going out of scope leaks the storage it points to. FINDING #19 [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/pval.c:3520: alloc_fn: Calling allocation function "new_prio". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/pval.c:2923: alloc_fn: Storage is returned from allocation function "calloc". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/pval.c:2923: var_assign: Assigning: "x" = "calloc(sizeof (struct ael_priority) /*64*/, 1UL)". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/pval.c:2924: return_alloc: Returning allocated memory "x". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/pval.c:3520: var_assign: Assigning: "for_loop" = storage returned from "new_prio()". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/pval.c:3648: leaked_storage: Variable "for_loop" going out of scope leaks the storage it points to. FINDING #20 [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/pval.c:3667: alloc_fn: Calling allocation function "new_prio". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/pval.c:2923: alloc_fn: Storage is returned from allocation function "calloc". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/pval.c:2923: var_assign: Assigning: "x" = "calloc(sizeof (struct ael_priority) /*64*/, 1UL)". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/pval.c:2924: return_alloc: Returning allocated memory "x". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/pval.c:3667: var_assign: Assigning: "while_loop" = storage returned from "new_prio()". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/pval.c:3688: leaked_storage: Variable "while_loop" going out of scope leaks the storage it points to. FINDING #21 [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/pval.c:5610: alloc_fn: Calling allocation function "pvalCreateNode". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/pval.c:4994: alloc_fn: Storage is returned from allocation function "calloc". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/pval.c:4994: var_assign: Assigning: "p" = "calloc(1UL, sizeof (pval) /*96*/)". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/pval.c:4996: return_alloc: Returning allocated memory "p". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/pval.c:5610: var_assign: Assigning: "hr" = storage returned from "pvalCreateNode(PV_WORD)". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/pval.c:5615: leaked_storage: Variable "hr" going out of scope leaks the storage it points to. FINDING #22 [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/pval.c:5611: alloc_fn: Calling allocation function "pvalCreateNode". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/pval.c:4994: alloc_fn: Storage is returned from allocation function "calloc". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/pval.c:4994: var_assign: Assigning: "p" = "calloc(1UL, sizeof (pval) /*96*/)". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/pval.c:4996: return_alloc: Returning allocated memory "p". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/pval.c:5611: var_assign: Assigning: "dow" = storage returned from "pvalCreateNode(PV_WORD)". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/pval.c:5615: leaked_storage: Variable "dow" going out of scope leaks the storage it points to. FINDING #23 [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/pval.c:5612: alloc_fn: Calling allocation function "pvalCreateNode". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/pval.c:4994: alloc_fn: Storage is returned from allocation function "calloc". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/pval.c:4994: var_assign: Assigning: "p" = "calloc(1UL, sizeof (pval) /*96*/)". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/pval.c:4996: return_alloc: Returning allocated memory "p". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/pval.c:5612: var_assign: Assigning: "dom" = storage returned from "pvalCreateNode(PV_WORD)". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/pval.c:5615: leaked_storage: Variable "dom" going out of scope leaks the storage it points to. FINDING #24 [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/pval.c:5613: alloc_fn: Calling allocation function "pvalCreateNode". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/pval.c:4994: alloc_fn: Storage is returned from allocation function "calloc". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/pval.c:4994: var_assign: Assigning: "p" = "calloc(1UL, sizeof (pval) /*96*/)". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/pval.c:4996: return_alloc: Returning allocated memory "p". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/pval.c:5613: var_assign: Assigning: "mon" = storage returned from "pvalCreateNode(PV_WORD)". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/pval.c:5615: leaked_storage: Variable "mon" going out of scope leaks the storage it points to. FINDING #25 [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/pval.c:5356: alloc_fn: Calling allocation function "pvalCreateNode". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/pval.c:4994: alloc_fn: Storage is returned from allocation function "calloc". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/pval.c:4994: var_assign: Assigning: "p" = "calloc(1UL, sizeof (pval) /*96*/)". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/pval.c:4996: return_alloc: Returning allocated memory "p". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/pval.c:5356: var_assign: Assigning: "hr" = storage returned from "pvalCreateNode(PV_WORD)". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/pval.c:5363: leaked_storage: Variable "hr" going out of scope leaks the storage it points to. FINDING #26 [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/pval.c:5357: alloc_fn: Calling allocation function "pvalCreateNode". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/pval.c:4994: alloc_fn: Storage is returned from allocation function "calloc". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/pval.c:4994: var_assign: Assigning: "p" = "calloc(1UL, sizeof (pval) /*96*/)". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/pval.c:4996: return_alloc: Returning allocated memory "p". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/pval.c:5357: var_assign: Assigning: "dom" = storage returned from "pvalCreateNode(PV_WORD)". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/pval.c:5363: leaked_storage: Variable "dom" going out of scope leaks the storage it points to. FINDING #27 [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/pval.c:5358: alloc_fn: Calling allocation function "pvalCreateNode". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/pval.c:4994: alloc_fn: Storage is returned from allocation function "calloc". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/pval.c:4994: var_assign: Assigning: "p" = "calloc(1UL, sizeof (pval) /*96*/)". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/pval.c:4996: return_alloc: Returning allocated memory "p". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/pval.c:5358: var_assign: Assigning: "dow" = storage returned from "pvalCreateNode(PV_WORD)". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/pval.c:5363: leaked_storage: Variable "dow" going out of scope leaks the storage it points to. FINDING #28 [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/pval.c:5359: alloc_fn: Calling allocation function "pvalCreateNode". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/pval.c:4994: alloc_fn: Storage is returned from allocation function "calloc". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/pval.c:4994: var_assign: Assigning: "p" = "calloc(1UL, sizeof (pval) /*96*/)". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/pval.c:4996: return_alloc: Returning allocated memory "p". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/pval.c:5359: var_assign: Assigning: "mon" = storage returned from "pvalCreateNode(PV_WORD)". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/pval.c:5363: leaked_storage: Variable "mon" going out of scope leaks the storage it points to. FINDING #29 [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/pval.c:5360: alloc_fn: Calling allocation function "pvalCreateNode". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/pval.c:4994: alloc_fn: Storage is returned from allocation function "calloc". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/pval.c:4994: var_assign: Assigning: "p" = "calloc(1UL, sizeof (pval) /*96*/)". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/pval.c:4996: return_alloc: Returning allocated memory "p". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/pval.c:5360: var_assign: Assigning: "s" = storage returned from "pvalCreateNode(PV_WORD)". [extended]: /builddir/build/BUILD/asterisk-1.8.6.0/utils/pval.c:5363: leaked_storage: Variable "s" going out of scope leaks the storage it points to.