mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-13 02:45:35 +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);
|
||||
}
|
||||
|
||||
/* otherwise we increment these from NULL to 1 */
|
||||
if (next_specifier) {
|
||||
templ_name++;
|
||||
name++;
|
||||
}
|
||||
} while (next_specifier);
|
||||
|
||||
return TRUE;
|
||||
|
|
Loading…
Reference in a new issue