Commit b72d6360 authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

snmpapi: Fix a memory leak in the test.

parent 73d0e7fd
......@@ -220,6 +220,7 @@ static void test_SnmpUtilOidCpyFree(void)
ok(ret, "SnmpUtilOidCpy failed\n");
ok(src.idLength == dst.idLength, "SnmpUtilOidCpy failed\n");
ok(!memcmp(src.ids, dst.ids, dst.idLength * sizeof(UINT)), "SnmpUtilOidCpy failed\n");
SnmpUtilOidFree(&dst);
/* These crashes under win98 */
if(0)
......
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