[483/906] glelements: do not leak parent when using gst_pad_get_parent
This commit is contained in:
parent
a3cc71ae5f
commit
5091066426
@ -202,6 +202,8 @@ gst_gl_filter_src_query (GstPad * pad, GstQuery * query)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
gst_object_unref (parent);
|
||||||
|
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -236,6 +236,8 @@ gst_gl_download_src_query (GstPad * pad, GstQuery * query)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
gst_object_unref (download);
|
||||||
|
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -323,6 +323,8 @@ gst_gl_test_src_src_query (GstPad * pad, GstQuery * query)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
gst_object_unref (parent);
|
||||||
|
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -255,6 +255,8 @@ gst_gl_upload_src_query (GstPad * pad, GstQuery * query)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
gst_object_unref (parent);
|
||||||
|
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user