snmpapi: Fix a memory leak in the test.

This commit is contained in:
Hans Leidekker 2008-07-19 19:53:54 +02:00 committed by Alexandre Julliard
parent 73d0e7fda3
commit b72d636062
1 changed files with 1 additions and 0 deletions

View File

@ -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)