diff options
author | Thomas Adam <thomas@xteddy.org> | 2017-02-05 02:01:12 +0000 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2017-02-05 02:01:12 +0000 |
commit | 7bccc82284f4240c91c46aa81eb71a9f534f6b1c (patch) | |
tree | 1a910265de11953d99cacb3eccb5323d0072babf | |
parent | e1c283325ecf6496f2107efc5c8d32257017558c (diff) | |
parent | d091253a5d240fe867cf966a6d3edc0ddd028d1a (diff) | |
download | rtmux-7bccc82284f4240c91c46aa81eb71a9f534f6b1c.tar.gz rtmux-7bccc82284f4240c91c46aa81eb71a9f534f6b1c.tar.bz2 rtmux-7bccc82284f4240c91c46aa81eb71a9f534f6b1c.zip |
Merge branch 'obsd-master'
-rw-r--r-- | log.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -133,6 +133,7 @@ fatal(const char *msg, ...) if (asprintf(&fmt, "fatal: %s: %s", msg, strerror(errno)) == -1) exit(1); log_vwrite(fmt, ap); + va_end(ap); exit(1); } @@ -147,5 +148,6 @@ fatalx(const char *msg, ...) if (asprintf(&fmt, "fatal: %s", msg) == -1) exit(1); log_vwrite(fmt, ap); + va_end(ap); exit(1); } |