v4l2videodec: Don't leak codec name

This commit is contained in:
Nicolas Dufresne 2017-09-19 17:55:58 -04:00
parent 1f902e2f6e
commit fb26575b73

View file

@ -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;