From 7a0fe5c93f93c827215ac7ed613130434c77e649 Mon Sep 17 00:00:00 2001 From: russell Date: Thu, 14 Jun 2007 23:01:01 +0000 Subject: Convert uses of strdup() to ast_strdup() (issue #9983, eliel) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@69436 f38db490-d61c-443f-a65b-d21fe96a405b --- apps/app_directory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/app_directory.c') diff --git a/apps/app_directory.c b/apps/app_directory.c index a53cd7406..7746502c7 100644 --- a/apps/app_directory.c +++ b/apps/app_directory.c @@ -444,7 +444,7 @@ static int do_directory(struct ast_channel *chan, struct ast_config *cfg, struct /* 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, ","); -- cgit v1.2.3