mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-19 11:42:27 +00:00
Use the ast_vasprintf macro instead of vasprintf directly.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@137403 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -276,7 +276,7 @@ static int execute_and_consume(DBPROCESS *dbproc, const char *fmt, ...)
|
||||
char *buffer;
|
||||
|
||||
va_start(ap, fmt);
|
||||
if (vasprintf(&buffer, fmt, ap) < 0) {
|
||||
if (ast_vasprintf(&buffer, fmt, ap) < 0) {
|
||||
va_end(ap);
|
||||
return 1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user