mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 15:27:07 +00:00
parent
9ae20ee3e0
commit
1b48ffdff5
1 changed files with 2 additions and 1 deletions
|
@ -154,7 +154,7 @@ GstValidateIssue *
|
||||||
gst_validate_issue_new (GstValidateIssueId issue_id, const gchar * summary,
|
gst_validate_issue_new (GstValidateIssueId issue_id, const gchar * summary,
|
||||||
const gchar * description, GstValidateReportLevel default_level)
|
const gchar * description, GstValidateReportLevel default_level)
|
||||||
{
|
{
|
||||||
GstValidateIssue *issue = g_slice_new (GstValidateIssue);
|
GstValidateIssue *issue;
|
||||||
gchar **area_name = g_strsplit (g_quark_to_string (issue_id), "::", 2);
|
gchar **area_name = g_strsplit (g_quark_to_string (issue_id), "::", 2);
|
||||||
|
|
||||||
if (!(area_name[0] != NULL && area_name[1] != NULL && area_name[2] == NULL)) {
|
if (!(area_name[0] != NULL && area_name[1] != NULL && area_name[2] == NULL)) {
|
||||||
|
@ -165,6 +165,7 @@ gst_validate_issue_new (GstValidateIssueId issue_id, const gchar * summary,
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
issue = g_slice_new (GstValidateIssue);
|
||||||
issue->issue_id = issue_id;
|
issue->issue_id = issue_id;
|
||||||
issue->summary = g_strdup (summary);
|
issue->summary = g_strdup (summary);
|
||||||
issue->description = g_strdup (description);
|
issue->description = g_strdup (description);
|
||||||
|
|
Loading…
Reference in a new issue