mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
v4l2videodec: Don't leak codec name
This commit is contained in:
parent
1f902e2f6e
commit
fb26575b73
1 changed files with 2 additions and 0 deletions
|
@ -1058,6 +1058,8 @@ G_STMT_START { \
|
|||
g_free (type_name);
|
||||
type_name = g_strdup_printf ("v4l2%s%sdec", basename, codec_name);
|
||||
}
|
||||
|
||||
g_free (codec_name);
|
||||
}
|
||||
|
||||
return type_name;
|
||||
|
|
Loading…
Reference in a new issue