inetmib1/tests: Free memory after use (Valgrind).
This commit is contained in:
parent
16d161bc95
commit
5f8717d7f6
|
@ -47,6 +47,8 @@ static void testInit(void)
|
|||
ok(ret, "SnmpExtensionInit failed: %d\n", GetLastError());
|
||||
ok(!strcmp("1.3.6.1.2.1.1", SnmpUtilOidToA(&oid)),
|
||||
"Expected 1.3.6.1.2.1.1, got %s\n", SnmpUtilOidToA(&oid));
|
||||
|
||||
SnmpUtilOidFree(&oid);
|
||||
}
|
||||
|
||||
static void testQuery(void)
|
||||
|
|
Loading…
Reference in New Issue