
test_poll was calling poll_init() two times since it's already included in init_test_env(). test_queuemanager was missing a bunch of frees. This doesn't fix it completely, but removes most of the leaks and valgrind errors.
test_poll was calling poll_init() two times since it's already included in init_test_env(). test_queuemanager was missing a bunch of frees. This doesn't fix it completely, but removes most of the leaks and valgrind errors.