rbutil: Properly initialize sansa / ipod bootloader buffer.

Fixes a crash on MacOS.

Change-Id: Ibb64a37266182c4ddfee32b2ac47b9d8f25a78e5
This commit is contained in:
Dominik Riebeling 2022-03-08 21:56:00 +01:00
parent ca12478df6
commit 911b216aff
2 changed files with 2 additions and 0 deletions

View file

@ -28,6 +28,7 @@
BootloaderInstallIpod::BootloaderInstallIpod(QObject *parent)
: BootloaderInstallBase(parent)
{
ipod.sectorbuf = nullptr;
}

View file

@ -27,6 +27,7 @@
BootloaderInstallSansa::BootloaderInstallSansa(QObject *parent)
: BootloaderInstallBase(parent)
{
sansa.sectorbuf = nullptr;
}