mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 00:03:56 +00:00
We ran into some weird issues where the memory was corrupted on certain architectures. It turns out we free'd memory before using it. This ensures we make a copy of the data before freeing it, and extracts a common function for both crates to use.