mirror of https://github.com/OISF/suricata
jsonbuilder: use Box::from_raw instead of transmute to free
I think this is a bad use of transmute, while the end result is the same, Box::from_raw is more correct as we created this pointer with Box::into_raw.pull/5059/head
parent
e5d4332ede
commit
f184bcc10e
Loading…
Reference in New Issue