mirror of https://github.com/mpv-player/mpv
Fix memory leak.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25429 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
9bfbfd8c4d
commit
1dc9f8ea08
|
@ -90,6 +90,10 @@ static void free_entry(list_entry_t* entry) {
|
|||
free(entry->ok);
|
||||
if(entry->cancel)
|
||||
free(entry->cancel);
|
||||
if(entry->left)
|
||||
free(entry->left);
|
||||
if(entry->right)
|
||||
free(entry->right);
|
||||
free(entry->p.txt);
|
||||
free(entry);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue