-
Committer:
Scott James Remnant
-
Date:
2007-06-10 19:52:55 UTC
-
Revision ID:
scott@netsplit.com-20070610195255-p7p39dqj43xdey2a
* init/parse_job.c (parse_job): Instead of freeing the previous
replacement, which could leave invalid references to it, mark it
for deletion and change the state.
* init/tests/test_parse_job.c (test_parse_job): Adjust the test so
that we hold a reference to the replacement job and make sure that
the state is changed to deleted, rather than checking for a destructor
being called on it.