If this code could ever be reached, it would leak memory (CID 1231979), but gst_caps_get_features() never returns NULL, so that can't happen.
If this code could ever be reached, it would leak memory (CID 1231979), but gst_caps_get_features() never returns NULL, so that can't happen.