This commit is contained in:
lienjukaisim 2024-08-14 15:48:24 +02:00
parent 2b45f5aa7e
commit d56f7a2249

View File

@ -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)