- In case of fail in create component,
add free code for memory.
Signed-off-by: SeokHoon Lee <andy.shlee@samsung.com>
Change-Id: I7c2ee345d12a4b57b2d39b962382a786c99c6d8b
return res;
error:
+ g_ptr_array_free (ta, FALSE);
return GST_RTSP_ERROR;
}
return res;
error:
+ g_ptr_array_free (ta, FALSE);
return res;
-
}
GstRTSPResult
return res;
error:
+ g_ptr_array_free (ta, FALSE);
return res;
}
gchar * gst_rtsp_wfd_client_get_sink_user_agent (GstRTSPWFDClient * client)
return TRUE;
create_error:
+ gst_object_unref (acaps);
+ gst_object_unref (aqueue);
if (acodec)
g_free (acodec);
if (audio_properties_name)
return TRUE;
create_error:
+ gst_object_unref (videosrc);
+ gst_object_unref (vqueue);
return FALSE;
}
return TRUE;
create_error:
+ gst_object_unref (videosrc);
+ gst_object_unref (vqueue);
return FALSE;
}
return TRUE;
create_error:
+ gst_object_unref (videosrc);
+ gst_object_unref (vqueue);
if (vcodec)
g_free (vcodec);
return FALSE;
Name: gst-rtsp-server
Summary: Multimedia Framework Library
Version: 1.6.1
-Release: 22
+Release: 23
Url: http://gstreamer.freedesktop.org/
Group: System/Libraries
License: LGPL-2.0+