1
0
mirror of https://github.com/strawberrymusicplayer/strawberry synced 2025-01-20 12:39:01 +01:00

Fix uninitialised variables

This commit is contained in:
Jonas Kvinge 2019-01-24 20:22:05 +01:00
parent 9983dc3138
commit db3f8d3b83
2 changed files with 4 additions and 0 deletions

View File

@ -55,6 +55,8 @@ SingleApplicationPrivate::SingleApplicationPrivate( SingleApplication *q_ptr )
{ {
server = nullptr; server = nullptr;
socket = nullptr; socket = nullptr;
memory = nullptr;
instanceNumber = -1;
} }
SingleApplicationPrivate::~SingleApplicationPrivate() SingleApplicationPrivate::~SingleApplicationPrivate()

View File

@ -55,6 +55,8 @@ SingleCoreApplicationPrivate::SingleCoreApplicationPrivate( SingleCoreApplicatio
{ {
server = nullptr; server = nullptr;
socket = nullptr; socket = nullptr;
memory = nullptr;
instanceNumber = -1;
} }
SingleCoreApplicationPrivate::~SingleCoreApplicationPrivate() SingleCoreApplicationPrivate::~SingleCoreApplicationPrivate()