app-layer-ssl: fix coverty error (RESOURCE_LEAK)

Bug #2677
pull/3543/head
Mats Klepsland 7 years ago
parent 787473ec64
commit b5dfc9ed41

@ -1115,7 +1115,7 @@ static inline int TLSDecodeHSHelloExtensions(SSLState *ssl_state,
ja3_elliptic_curves_pf = Ja3BufferInit();
if (ja3_extensions == NULL || ja3_elliptic_curves == NULL ||
ja3_elliptic_curves_pf == NULL)
return -1;
goto error;
}
/* Extensions are optional (RFC5246 section 7.4.1.2) */

Loading…
Cancel
Save