diff options
author | Russell Bryant <russell@russellbryant.com> | 2007-06-14 23:01:01 +0000 |
---|---|---|
committer | Russell Bryant <russell@russellbryant.com> | 2007-06-14 23:01:01 +0000 |
commit | b179e2155f886117b68499c5c918c82242728a86 (patch) | |
tree | ca14014e3c226332296ae0d687f996e9d8dfe6b2 /apps/app_directory.c | |
parent | 5dd9887ac7c638e8460f85ec2a93f5b490f15d6d (diff) |
Convert uses of strdup() to ast_strdup()
(issue #9983, eliel)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@69436 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_directory.c')
-rw-r--r-- | apps/app_directory.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, ","); |