Bug 19859: Fix double-free in unit test

This commit is contained in:
JeremyRand 2019-11-12 17:13:04 +00:00
parent 736322ce61
commit f487da518a
No known key found for this signature in database
GPG Key ID: B3F2D165786D6570

View File

@ -663,8 +663,6 @@ test_cntev_format_stream(void *arg)
"ISO_FIELDS=DESTPORT,SOCKS_USERNAME,SOCKS_PASSWORD,NYM_EPOCH,"));
done:
tor_free(username);
tor_free(password);
tor_free(conndesc);
connection_free_minimal(ENTRY_TO_CONN(ec));
}