Fix memory leak.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25429 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
ulion 2007-12-17 01:20:19 +00:00
parent 9bfbfd8c4d
commit 1dc9f8ea08
1 changed files with 4 additions and 0 deletions

View File

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