summaryrefslogtreecommitdiffstats
path: root/src/tools
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/selinux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/selinux.c b/src/tools/selinux.c
index 23951289a..27cc56803 100644
--- a/src/tools/selinux.c
+++ b/src/tools/selinux.c
@@ -116,11 +116,11 @@ static void sss_semanage_error_callback(void *varg,
va_start(ap, fmt);
ret = vasprintf(&message, fmt, ap);
+ va_end(ap);
if (ret < 0) {
/* ENOMEM */
return;
}
- va_end(ap);
if (level <= debug_level) {
if (debug_timestamps) {