[network-manager-openswan] auth-dialog: fix memory leak in ea9812bbec074c35f600104397a0414b55057b46



commit 03c90803a1c528871b40fb6a5591b1cc7abaa974
Author: Dan Williams <dcbw redhat com>
Date:   Mon Mar 19 11:02:01 2012 -0500

    auth-dialog: fix memory leak in ea9812bbec074c35f600104397a0414b55057b46

 auth-dialog/main.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/auth-dialog/main.c b/auth-dialog/main.c
index 4feed06..f96ab6e 100644
--- a/auth-dialog/main.c
+++ b/auth-dialog/main.c
@@ -204,6 +204,7 @@ get_secrets (const char *vpn_uuid,
 
 		*out_upw = upw;
 		*out_gpw = gpw;
+		g_free (prompt);
 		return TRUE;
 	}
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]