~jamesodhunt/upstart/async-fix-job-new-destructor

Viewing all changes in revision 1655.

  • Committer: James Hunt
  • Date: 2014-05-22 13:20:23 UTC
  • Revision ID: james.hunt@ubuntu.com-20140522132023-r4l9ik7qyqa5p5pi
* init/job.c:
  - job_destroy(): Don't attempt to free process_data if not yet alloc'd.
  - job_new(): Ensure process_data NULL before any possibility of
    destructor being called.
* init/tests/test_event.c: Removed now unecessary TEST_ALLOC_SAFE around
  event_poll().

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: