range: add g_return_if check
This commit is contained in:
parent
7af386fdaf
commit
0bf50cd3d8
@ -399,5 +399,7 @@ gst_rtsp_range_to_string (const GstRTSPTimeRange * range)
|
|||||||
void
|
void
|
||||||
gst_rtsp_range_free (GstRTSPTimeRange * range)
|
gst_rtsp_range_free (GstRTSPTimeRange * range)
|
||||||
{
|
{
|
||||||
|
g_return_if_fail (range != NULL);
|
||||||
|
|
||||||
g_free (range);
|
g_free (range);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user