mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
Fix error in last unit test mem-leak-fixing.
svn:r17596
This commit is contained in:
parent
bb02f919f1
commit
d9aa57253d
@ -1851,7 +1851,7 @@ test_util_smartlist_strings(void)
|
||||
cp_alloc = smartlist_join_strings(sl, ",", 0, NULL);
|
||||
test_streq(cp_alloc,"the,router,onion,nickm,by,arma,and");
|
||||
tor_free(cp_alloc);
|
||||
cp = smartlist_pop_last(sl);
|
||||
cp_alloc = smartlist_pop_last(sl);
|
||||
test_streq(cp_alloc, "and");
|
||||
tor_free(cp_alloc);
|
||||
test_eq(smartlist_len(sl), 6);
|
||||
|
Loading…
Reference in New Issue
Block a user