From 3203f956cd77c43b6432b01d2d82950e9dac3580 Mon Sep 17 00:00:00 2001 From: Robbie Harwood Date: Thu, 24 Aug 2017 15:13:52 -0400 Subject: [PATCH] Fix double free of popt context when querying version This is a non-exploitable, cosmetic issue which causes a segfault (in some cases) rather than a clean exit of the program. Signed-off-by: Robbie Harwood Reviewed-by: Simo Sorce Merges: #209 (cherry picked from commit 6ef4eb72bef742ed1ebb2824df5a600819e19666) --- proxy/src/gssproxy.c | 1 - 1 file changed, 1 deletion(-) diff --git a/proxy/src/gssproxy.c b/proxy/src/gssproxy.c index 3b6a16e..3221615 100644 --- a/proxy/src/gssproxy.c +++ b/proxy/src/gssproxy.c @@ -202,7 +202,6 @@ int main(int argc, const char *argv[]) if (opt_version) { puts(VERSION""DISTRO_VERSION""PRERELEASE_VERSION); - poptFreeContext(pc); ret = 0; goto cleanup; }