Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
videotestsrc: Fix a leak when computing alpha caps
  • Loading branch information
nirbheek committed Apr 30, 2021
1 parent 9b6a425 commit b143470
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gst/videotestsrc/gstvideotestsrc.c
Expand Up @@ -472,6 +472,7 @@ gst_video_test_src_src_fixate (GstBaseSrc * bsrc, GstCaps * caps)
} else {
gst_caps_replace (&caps, alpha_only_caps);
}
gst_caps_unref (alpha_only_caps);
}

caps = gst_caps_make_writable (caps);
Expand Down

0 comments on commit b143470

Please sign in to comment.