Skip to content
Snippets Groups Projects
Commit c2faa7bf authored by Sean Bright's avatar Sean Bright
Browse files

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
parent 0c774b28
Branches
Tags
No related merge requests found
...@@ -276,7 +276,7 @@ static int execute_and_consume(DBPROCESS *dbproc, const char *fmt, ...) ...@@ -276,7 +276,7 @@ static int execute_and_consume(DBPROCESS *dbproc, const char *fmt, ...)
char *buffer; char *buffer;
va_start(ap, fmt); va_start(ap, fmt);
if (vasprintf(&buffer, fmt, ap) < 0) { if (ast_vasprintf(&buffer, fmt, ap) < 0) {
va_end(ap); va_end(ap);
return 1; return 1;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment