1
0
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:
Philipp Schafft 2022-03-02 09:38:55 +00:00
parent 35a9b743ab
commit 83eaa67bfd

View File

@ -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;
} }
} }