diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/dstring.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dstring.c b/src/dstring.c index 913dda8..b5bf3d3 100644 --- a/src/dstring.c +++ b/src/dstring.c @@ -245,6 +245,7 @@ int dstrvcatf(dchar **str, const char *format, va_list args) { return 0; fail: + va_end(copy); *tail = '\0'; return -1; } |