summaryrefslogtreecommitdiff
path: root/source/lib/util_tdb.c
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2008-01-27 17:31:56 +1100
committerVolker Lendecke <vl@samba.org>2008-01-27 09:33:42 +0100
commitec367f307dff7948722b9ac97beb960efd91991f (patch)
treeba2900c2d7e543c68ac9a7420b4ea89a1b4652b0 /source/lib/util_tdb.c
parent147033b9dff7160ff324fa52aba1f054f962961b (diff)
downloadsamba-ec367f307dff7948722b9ac97beb960efd91991f.tar.gz
Adding missing calls to va_end().
Just a small commit to get a handle on this git thingy. This patch fixes some missing calls to va_end() to match various calls to va_start() and VA_COPY(). Tim.
Diffstat (limited to 'source/lib/util_tdb.c')
-rw-r--r--source/lib/util_tdb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/lib/util_tdb.c b/source/lib/util_tdb.c
index ce2cb427d11..dd5ebcd7ab5 100644
--- a/source/lib/util_tdb.c
+++ b/source/lib/util_tdb.c
@@ -656,6 +656,7 @@ int tdb_unpack(const uint8 *buf, int bufsize, const char *fmt, ...)
return PTR_DIFF(buf, buf0);
no_space:
+ va_end(ap);
return -1;
}