This commit is contained in:
parent
2b45f5aa7e
commit
d56f7a2249
@ -168,7 +168,9 @@ pub fn LireDroitsVitale(
|
|||||||
let groups = decode_ssv_memory(hex_values, hex_values.len());
|
let groups = decode_ssv_memory(hex_values, hex_values.len());
|
||||||
|
|
||||||
unsafe {
|
unsafe {
|
||||||
libc::free(buffer);
|
if !buffer.is_null() {
|
||||||
|
libc::free(buffer); // ??? si liberer avant decode_ssv_memory alors hex_values n'est plus correct ???
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
decode_carte_vitale(groups)
|
decode_carte_vitale(groups)
|
||||||
|
Loading…
Reference in New Issue
Block a user