mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 21:57:57 +03:00
Clear subtitles for all nodes when deleting the alias list
This commit is contained in:
parent
758176dd32
commit
97fe824b80
1 changed files with 5 additions and 0 deletions
|
@ -70,6 +70,11 @@ void Alias_ListClear(AliasList_t *list)
|
||||||
}
|
}
|
||||||
|
|
||||||
for (node = list->data_list; node != NULL; node = next) {
|
for (node = list->data_list; node != NULL; node = next) {
|
||||||
|
if (node->subtitle) {
|
||||||
|
// Added in OPM
|
||||||
|
Z_Free(node->subtitle);
|
||||||
|
}
|
||||||
|
|
||||||
next = node->next;
|
next = node->next;
|
||||||
Z_Free(node);
|
Z_Free(node);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue