~vorlon/ubuntu/raring/upstart/lp.1199778

« back to all changes in this revision

Viewing changes to init/job_class.c

  • Committer: Steve Langasek
  • Date: 2013-11-07 03:06:51 UTC
  • Revision ID: steve.langasek@canonical.com-20131107030651-f1jzeyi7ifvvw1h8
Attempt to cherry-pick fixes for bug #1199778 to raring; something is still
missing though, the test suite segfaults on one of the json loads.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2314
2314
        json_classes = json_object_object_get (json, "job_classes");
2315
2315
 
2316
2316
        if (! json_classes)
2317
 
                        goto error;
 
2317
                goto error;
2318
2318
 
2319
2319
        if (! state_check_json_type (json_classes, array))
2320
2320
                goto error;