Commit ac393df4 authored by Rémi Bernon's avatar Rémi Bernon Committed by Alexandre Julliard

mf/tests: Release PROPVARIANT memory in check_attributes (Valgrind).

parent 7d7da2ef
...@@ -278,6 +278,7 @@ void check_attributes_(const char *file, int line, IMFAttributes *attributes, ...@@ -278,6 +278,7 @@ void check_attributes_(const char *file, int line, IMFAttributes *attributes,
todo_wine_if(desc[i].todo_value) todo_wine_if(desc[i].todo_value)
ok_(file, line)(ret == 0, "%s mismatch, type %u, value %s\n", ok_(file, line)(ret == 0, "%s mismatch, type %u, value %s\n",
debugstr_a(desc[i].name), value.vt, buffer); debugstr_a(desc[i].name), value.vt, buffer);
PropVariantClear(&value);
} }
} }
......
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