mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
rtp/jpegpay: remove unnecessary NULL checks before g_free()
This commit is contained in:
parent
a34cee5aad
commit
3c8b7e079c
1 changed files with 2 additions and 4 deletions
|
@ -359,10 +359,8 @@ gst_rtp_jpeg_pay_setcaps (GstRTPBasePayload * basepayload, GstCaps * caps)
|
|||
res = gst_rtp_base_payload_set_outcaps (basepayload, NULL);
|
||||
}
|
||||
|
||||
if (dim != NULL)
|
||||
g_free (dim);
|
||||
if (rate != NULL)
|
||||
g_free (rate);
|
||||
g_free (dim);
|
||||
g_free (rate);
|
||||
|
||||
return res;
|
||||
|
||||
|
|
Loading…
Reference in a new issue