mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
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
This commit is contained in:
@@ -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, ",");
|
||||
|
Reference in New Issue
Block a user