discoverer: unref "next" variant when parsing from variant
This commit is contained in:
parent
81ae045e3d
commit
d6847fe04d
@ -2267,6 +2267,7 @@ _parse_common_stream_info (GstDiscovererStreamInfo * sinfo, GVariant * common,
|
|||||||
if (g_variant_n_children (nextv) > 0) {
|
if (g_variant_n_children (nextv) > 0) {
|
||||||
sinfo->next = _parse_discovery (nextv, info);
|
sinfo->next = _parse_discovery (nextv, info);
|
||||||
}
|
}
|
||||||
|
g_variant_unref (nextv);
|
||||||
}
|
}
|
||||||
|
|
||||||
g_variant_unref (common);
|
g_variant_unref (common);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user