diff options
author | Tiago Cunha <tcunha@gmx.com> | 2012-07-11 19:50:46 +0000 |
---|---|---|
committer | Tiago Cunha <tcunha@gmx.com> | 2012-07-11 19:50:46 +0000 |
commit | 513bd8f62d4159bae1d9825c1300bcf83287c1d3 (patch) | |
tree | 5b3b7398da7c2245c460f2a353ceeb043b5c66f9 /compat/asprintf.c | |
parent | 1f5e6e35d5046693f0ef5ec76535f517757b7122 (diff) | |
download | rtmux-513bd8f62d4159bae1d9825c1300bcf83287c1d3.tar.gz rtmux-513bd8f62d4159bae1d9825c1300bcf83287c1d3.tar.bz2 rtmux-513bd8f62d4159bae1d9825c1300bcf83287c1d3.zip |
Remove remaining xfree calls from the portable version.
Diffstat (limited to 'compat/asprintf.c')
-rw-r--r-- | compat/asprintf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compat/asprintf.c b/compat/asprintf.c index 861232a5..66f00996 100644 --- a/compat/asprintf.c +++ b/compat/asprintf.c @@ -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; } |