mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-22 10:37:44 -05:00
[-] Lots of housekeeping thanks to scan-build and input from @acmay
This commit is contained in:
@@ -430,7 +430,7 @@ keyval_sort(struct keyval *kv)
|
||||
struct onekeyval *okv;
|
||||
struct onekeyval *sokv;
|
||||
|
||||
if (!kv)
|
||||
if (!kv || !kv->head)
|
||||
return;
|
||||
|
||||
head = kv->head;
|
||||
|
||||
Reference in New Issue
Block a user