diff options
author | Wim Taymans <wim.taymans@collabora.co.uk> | 2012-11-21 12:12:28 +0100 |
---|---|---|
committer | Wim Taymans <wim.taymans@collabora.co.uk> | 2012-11-21 15:29:05 +0100 |
commit | 0bf50cd3d829b9724521eae370031c80146c58c2 (patch) | |
tree | e1ee615244491a0a798beeba34d1c122b9b29138 /gst-libs | |
parent | 7af386fdaffbf46fbfc1c4953e7795507d1ed250 (diff) |
range: add g_return_if check
Diffstat (limited to 'gst-libs')
-rw-r--r-- | gst-libs/gst/rtsp/gstrtsprange.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gst-libs/gst/rtsp/gstrtsprange.c b/gst-libs/gst/rtsp/gstrtsprange.c index cced06b22..11fc6b126 100644 --- a/gst-libs/gst/rtsp/gstrtsprange.c +++ b/gst-libs/gst/rtsp/gstrtsprange.c @@ -399,5 +399,7 @@ gst_rtsp_range_to_string (const GstRTSPTimeRange * range) void gst_rtsp_range_free (GstRTSPTimeRange * range) { + g_return_if_fail (range != NULL); + g_free (range); } |