Index: apps/app_meetme.c =================================================================== --- apps/app_meetme.c (revision 69258) +++ apps/app_meetme.c (working copy) @@ -985,7 +985,7 @@ /* User Number || Conf Command option*/ if (strstr(line, "mute") || strstr(line, "kick")) { if (state == 0 && (strstr(line, "kick") || strstr(line,"mute")) && !strncasecmp(word, "all", len)) - return strdup("all"); + return ast_strdup("all"); which++; AST_LIST_LOCK(&confs); @@ -1010,9 +1010,9 @@ } } AST_LIST_UNLOCK(&confs); - return usr ? strdup(usrno) : NULL; + return usr ? ast_strdup(usrno) : NULL; } else if ( strstr(line, "list") && ( 0 == state ) ) - return strdup("concise"); + return ast_strdup("concise"); } return NULL; Index: apps/app_minivm.c =================================================================== --- apps/app_minivm.c (revision 69258) +++ apps/app_minivm.c (working copy) @@ -2375,7 +2375,7 @@ static char *message_template_parse_emailbody(const char *configuration) { char *tmpread, *tmpwrite; - char *emailbody = strdup(configuration); + char *emailbody = ast_strdup(configuration); /* substitute strings \t and \n into the apropriate characters */ tmpread = tmpwrite = emailbody; @@ -2723,12 +2723,12 @@ if (pos > 4) return NULL; if (pos == 3) - return (state == 0) ? strdup("for") : NULL; + return (state == 0) ? ast_strdup("for") : NULL; wordlen = strlen(word); AST_LIST_TRAVERSE(&minivm_accounts, vmu, list) { if (!strncasecmp(word, vmu->domain, wordlen)) { if (domain && strcmp(domain, vmu->domain) && ++which > state) - return strdup(vmu->domain); + return ast_strdup(vmu->domain); /* ignore repeated domains ? */ domain = vmu->domain; } Index: apps/app_speech_utils.c =================================================================== --- apps/app_speech_utils.c (revision 69258) +++ apps/app_speech_utils.c (working copy) @@ -515,7 +515,7 @@ speech->processing_sound = NULL; } - speech->processing_sound = strdup(data); + speech->processing_sound = ast_strdup(data); ast_module_user_remove(u); @@ -747,8 +747,8 @@ speech->results = ast_calloc(1, sizeof(*speech->results)); if (speech->results != NULL) { speech->results->score = 1000; - speech->results->text = strdup(dtmf); - speech->results->grammar = strdup("dtmf"); + speech->results->text = ast_strdup(dtmf); + speech->results->grammar = ast_strdup("dtmf"); } } Index: apps/app_directory.c =================================================================== --- apps/app_directory.c (revision 69258) +++ apps/app_directory.c (working copy) @@ -444,7 +444,7 @@ /* Find all candidate extensions */ while(v) { /* Find a candidate extension */ - start = strdup(v->value); + start = ast_strdup(v->value); if (start && !strcasestr(start, "hidefromdir=yes")) { stringp=start; strsep(&stringp, ",");