chiark
/
gitweb
/
~mdw
/
mLib
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
6c705c5
)
struct/dstr-putf.c: Don't leak the argument and spec vectors.
author
Mark Wooding
<mdw@distorted.org.uk>
Sun, 18 Jan 2015 16:50:40 +0000
(16:50 +0000)
committer
Mark Wooding
<mdw@distorted.org.uk>
Sun, 18 Jan 2015 16:53:37 +0000
(16:53 +0000)
struct/dstr-putf.c
patch
|
blob
|
blame
|
history
diff --git
a/struct/dstr-putf.c
b/struct/dstr-putf.c
index 9ac8cf9361c09ea4472762e216dd93936edb3448..3f9b449c9fd14977553e8fb0a0a6c10c2b675097 100644
(file)
--- a/
struct/dstr-putf.c
+++ b/
struct/dstr-putf.c
@@
-536,6
+536,8
@@
int dstr_vputf(dstr *d, const char *p, va_list *ap)
DPUTZ(d);
DDESTROY(&dd);
+ DA_DESTROY(&av);
+ DA_DESTROY(&sv);
return (d->len - n);
}