Commit ad69767c authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Fix potential infinite loop with multiple vouts (fixes: #2832)

(cherry picked from commit 42245ec5709d85151bdd82a1e806ab68e88aad71)
parent bda8b205
......@@ -170,7 +170,7 @@ static void Close (vlc_object_t *obj)
}
do
used[n] = used[n + 1];
while (used[n + 1] != NULL);
while (used[++n] != NULL);
if (n == 0)
/* should not be needed (var_Destroy...) but better safe than sorry: */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment