Fix bug introduced in 64effa3bb9

This commit is contained in:
William Robinet 2021-01-27 20:18:22 +01:00
parent ff53f8d946
commit 5e7d876af2

View file

@ -184,7 +184,7 @@ int sslx_print_certificate(ssl,data,pf)
#ifdef OPENSSL
if(x) X509_free(x);
#endif
if(cert_obj) json_object_put(cert_obj);
if(_status && cert_obj) json_object_put(cert_obj);
return(_status);
}