mirror of
https://github.com/Silicondust/libhdhomerun
synced 2025-08-19 21:13:25 -07:00
20221024 crash fix
This commit is contained in:
parent
0aae263492
commit
328fdab47f
1 changed files with 1 additions and 0 deletions
|
@ -292,6 +292,7 @@ static void hdhomerun_discover_sock_detect_cleanup(struct hdhomerun_discover_soc
|
||||||
struct hdhomerun_discover_sock_t *p = default_dss->next;
|
struct hdhomerun_discover_sock_t *p = default_dss->next;
|
||||||
while (p) {
|
while (p) {
|
||||||
if (!p->new_flag) {
|
if (!p->new_flag) {
|
||||||
|
*pprev = p->next;
|
||||||
hdhomerun_discover_sock_free(p);
|
hdhomerun_discover_sock_free(p);
|
||||||
p = *pprev;
|
p = *pprev;
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue