projects
/
platform
/
upstream
/
avahi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0eb12a
)
* We should va_end the va_copy'd value too
author
Trent Lloyd
<lathiat@bur.st>
Sun, 28 Aug 2005 18:54:51 +0000
(18:54 +0000)
committer
Trent Lloyd
<lathiat@bur.st>
Sun, 28 Aug 2005 18:54:51 +0000
(18:54 +0000)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@473
941a03a8
-eaeb-0310-b9a0-
b1bbd8fe43fe
avahi-common/malloc.c
patch
|
blob
|
history
diff --git
a/avahi-common/malloc.c
b/avahi-common/malloc.c
index
0dd4eb0
..
96ad1de
100644
(file)
--- a/
avahi-common/malloc.c
+++ b/
avahi-common/malloc.c
@@
-209,6
+209,8
@@
char *avahi_strdup_vprintf(const char *fmt, va_list ap) {
n = vsnprintf(buf, len, fmt, ap);
+ va_end (ap2);
+
if (n >= 0 && n < (int) len)
return buf;