mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2024-11-03 04:17:17 -05:00
Fix: Actually free PRNG seed config structure, not just it's members
This commit is contained in:
parent
35a9b743ab
commit
83eaa67bfd
@ -887,6 +887,7 @@ static void config_clear_prng_seed(prng_seed_config_t *seed)
|
|||||||
while (seed) {
|
while (seed) {
|
||||||
prng_seed_config_t *next = seed->next;
|
prng_seed_config_t *next = seed->next;
|
||||||
if (seed->filename) xmlFree(seed->filename);
|
if (seed->filename) xmlFree(seed->filename);
|
||||||
|
free(seed);
|
||||||
seed = next;
|
seed = next;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user