History

avfilter picture pool: double free hotfix

This fix introduces a small memleak

Michael Niedermayer committed 15 years ago

Commit 90c69631 parent 6cbe8191 file · +3 −2Browse files

Unified · Split

libavfilter/avfilter.c+3−2
@@ -182,10 +182,11 @@ void avfilter_link_free(AVFilterLink **link) · 181 unmodified lines
182 182
183 av_freep(&picref->audio);183 av_freep(&picref->audio);
184 av_freep(&picref->video);184 av_freep(&picref->video);
185 av_freep(&picref);185 av_freep(&(*link)->pool->pic[i]);
186 }186 }
187 }187 }
188 av_freep(&(*link)->pool);188 (*link)->pool->count = 0;
189// av_freep(&(*link)->pool);
189 }190 }
190 av_freep(link);191 av_freep(link);
191}192}

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t