History

avfilter/vf_morpho: fix leak by not returning too early

Paul B Mahol committed 5 years ago

Commit 21979cf1 parent 07e46691 file · +1 −1Browse files

Showing the changes to libavfilter (1 of 1 file). Show all

Unified · Split

libavfilter/vf_morpho.c+1−1
@@ -892,7 +892,7 @@ copy: · 891 unmodified lines
892 break;892 break;
893 ret = erode(&s->h[p], &s->f[p], &s->SE[p], &s->Ty[1][p]);893 ret = erode(&s->h[p], &s->f[p], &s->SE[p], &s->Ty[1][p]);
894 if (ret < 0)894 if (ret < 0)
895 return ret;895 break;
896 difference(&s->g[p], &s->h[p]);896 difference(&s->g[p], &s->h[p]);
897 break;897 break;
898 case TOPHAT:898 case TOPHAT:

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