mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 05:21:10 +00:00
Remove remaining xfree calls from the portable version.
This commit is contained in:
@ -53,7 +53,7 @@ vasprintf(char **ret, const char *fmt, va_list ap)
|
||||
|
||||
*ret = xmalloc(n + 1);
|
||||
if ((n = vsnprintf(*ret, n + 1, fmt, ap2)) < 0) {
|
||||
xfree(*ret);
|
||||
free(*ret);
|
||||
goto error;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user