mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2026-05-09 03:58:05 +02:00
metadata: unset iterator value before breaking or returning from loop
This commit is contained in:
parent
6d7ae691b3
commit
4679a4ed71
1 changed files with 1 additions and 0 deletions
|
|
@ -472,6 +472,7 @@ wp_metadata_find (WpMetadata * self, guint32 subject, const gchar * key,
|
|||
if (g_strcmp0 (k, key) == 0) {
|
||||
if (type)
|
||||
*type = t;
|
||||
g_value_unset (&val);
|
||||
return v;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue