From c5270bde4dab84f18c347e82376ef00733865247 Mon Sep 17 00:00:00 2001 From: Rob Crittenden Date: Wed, 1 Jul 2020 10:46:50 -0400 Subject: [PATCH] Don't free soptions while it is still needed Introduced in fbcf03dd44007a9b231e9396cc418a00e1a4b49a trying to avoid leaking soptions and aoptions. https://pagure.io/certmonger/issue/163 Signed-off-by: Rob Crittenden --- src/dogtag.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/dogtag.c b/src/dogtag.c index 91c9c588..faf81f97 100644 --- a/src/dogtag.c +++ b/src/dogtag.c @@ -579,7 +579,6 @@ main(int argc, const char **argv) pin = NULL; } } - free(soptions); /* Add client creds. */ if (uid != NULL) { uid = cm_submit_u_url_encode(uid); -- 2.25.4