-
Committer:
Scott James Remnant
-
Date:
2009-01-28 02:00:35 UTC
-
Revision ID:
scott@netsplit.com-20090128020035-ke4q9p2ing3t12e1
* init/blocked.c (blocked_new): Take a reference to the message,
otherwise it will be freed; we free the Blocked structure when we're
done, so will automatically unref the message.
* init/tests/test_blocked.c (test_new): Add tests to make sure the
reference is taken.
* init/tests/test_job.c (test_start, test_stop, test_restart):
Make sure the message is referenced when an error is not returned
but not referenced when one is.
* init/tests/test_job_class.c (test_start, test_stop)
(test_restart): Make sure the message is referenced when an error
is not returned but not referenced when one is.
* init/tests/test_control.c (test_emit_event): Make sure that
the message is referenced.