Skip to content
Snippets Groups Projects
Commit b72d6360 authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard
Browse files

snmpapi: Fix a memory leak in the test.

parent 73d0e7fd
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment