diff options
Diffstat (limited to 'src/krb5_plugin/sssd_krb5_locator_plugin.c')
-rw-r--r-- | src/krb5_plugin/sssd_krb5_locator_plugin.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/krb5_plugin/sssd_krb5_locator_plugin.c b/src/krb5_plugin/sssd_krb5_locator_plugin.c index 70479efd..a4dc31cb 100644 --- a/src/krb5_plugin/sssd_krb5_locator_plugin.c +++ b/src/krb5_plugin/sssd_krb5_locator_plugin.c @@ -67,13 +67,12 @@ void debug_fn(const char *format, ...) va_start(ap, format); ret = vasprintf(&s, format, ap); + va_end(ap); if (ret < 0) { /* ENOMEM */ return; } - va_end(ap); - fprintf(stderr, DEBUG_KEY "%s", s); free(s); } |