summaryrefslogtreecommitdiffstats
path: root/readpass.c
diff options
context:
space:
mode:
Diffstat (limited to 'readpass.c')
-rw-r--r--readpass.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/readpass.c b/readpass.c
index 78bca832..9c7476c1 100644
--- a/readpass.c
+++ b/readpass.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: readpass.c,v 1.67 2020/11/08 23:19:03 djm Exp $ */
+/* $OpenBSD: readpass.c,v 1.68 2020/11/10 07:46:20 claudio Exp $ */
/*
* Copyright (c) 2001 Markus Friedl. All rights reserved.
*
@@ -312,6 +312,7 @@ notify_complete(struct notifier_ctx *ctx, const char *fmt, ...)
xvasprintf(&msg, fmt, args);
va_end(args);
writemsg(msg);
+ free(msg);
}
if (ctx == NULL || ctx->pid <= 0) {