mirror of
https://github.com/owntone/owntone-server.git
synced 2025-03-29 16:53:43 -04:00
[spotify] Don't zero pthread lock when resetting credentials
This commit is contained in:
parent
6742272221
commit
3f6c7405ed
@ -213,7 +213,8 @@ credentials_clear(struct spotify_credentials *credentials)
|
||||
free(credentials->user_country);
|
||||
free(credentials->user);
|
||||
|
||||
memset(credentials, 0, sizeof(struct spotify_credentials));
|
||||
credentials->token_expires_in = 0;
|
||||
credentials->token_time_requested = 0;
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
x
Reference in New Issue
Block a user