mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-05 18:22:23 +00:00
element: Don't increment NULL pointers
Trivial workaround for coverity false warning. CID 1394488, 1394487.
This commit is contained in:
parent
94cd315595
commit
2872ae21c3
1 changed files with 5 additions and 2 deletions
|
@ -1026,8 +1026,11 @@ gst_element_is_valid_request_template_name (const gchar * templ_name,
|
||||||
g_free (target);
|
g_free (target);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* otherwise we increment these from NULL to 1 */
|
||||||
|
if (next_specifier) {
|
||||||
templ_name++;
|
templ_name++;
|
||||||
name++;
|
name++;
|
||||||
|
}
|
||||||
} while (next_specifier);
|
} while (next_specifier);
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
Loading…
Reference in a new issue