mirror of https://github.com/OISF/suricata
rust: fix warnings found by nightly compiler
warning: getting the inner pointer of a temporary `CString`
this `CString` is deallocated at the end of the statement,
bind it to a variable to extend its lifetime
(cherry picked from commit 8db78208f9)
pull/5631/head
parent
56e1176e51
commit
b0a1bddb16
Loading…
Reference in New Issue