From c5270bde4dab84f18c347e82376ef00733865247 Mon Sep 17 00:00:00 2001 From: Rob Crittenden Date: Jul 01 2020 15:58:11 +0000 Subject: 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 --- diff --git a/src/dogtag.c b/src/dogtag.c index 91c9c58..faf81f9 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);