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:
@@ -169,7 +169,7 @@ char *iax_prov_complete_template(const char *line, const char *word, int pos, in
|
||||
ast_mutex_lock(&provlock);
|
||||
for (c = templates; c; c = c->next) {
|
||||
if (!strncasecmp(word, c->name, wordlen) && ++which > state) {
|
||||
ret = strdup(c->name);
|
||||
ret = ast_strdup(c->name);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user