Codebase list openssl / 6403471
Fix a memory leak in the ca application Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/5627) Matt Caswell 6 years ago
1 changed file(s) with 3 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
18631863 irow = NULL;
18641864 ok = 1;
18651865 end:
1866 if (irow != NULL) {
1866 if (ok != 1) {
18671867 for (i = 0; i < DB_NUMBER; i++)
18681868 OPENSSL_free(row[i]);
1869 OPENSSL_free(irow);
1870 }
1869 }
1870 OPENSSL_free(irow);
18711871
18721872 X509_NAME_free(CAname);
18731873 X509_NAME_free(subject);