mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 09:10:36 +00:00
ges-launch: Handle return value of regcomp()
This commit is contained in:
parent
8927e8d72e
commit
bf2c2b8f7a
1 changed files with 2 additions and 1 deletions
|
@ -95,7 +95,8 @@ check_time (char *time)
|
|||
|
||||
if (!compiled) {
|
||||
compiled = TRUE;
|
||||
regcomp (&re, "^[0-9]+(.[0-9]+)?$", REG_EXTENDED | REG_NOSUB);
|
||||
if (regcomp (&re, "^[0-9]+(.[0-9]+)?$", REG_EXTENDED | REG_NOSUB))
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
if (!regexec (&re, time, (size_t) 0, NULL, 0))
|
||||
|
|
Loading…
Reference in a new issue