Skip to content
Snippets Groups Projects
Commit d07c47ba authored by Mark Spencer's avatar Mark Spencer
Browse files

Fix solaris vasprintf (don't free the memory, duh) (bug #4890)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6271 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent a384e302
No related branches found
No related tags found
No related merge requests found
......@@ -627,7 +627,6 @@ int vasprintf(char **strp, const char *fmt, va_list ap)
if (!*strp)
return -1;
vsnprintf(*strp, size + 1, fmt, ap);
free(*strp);
return size;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment