diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2012-01-29 18:25:54 -0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2012-01-29 18:25:54 -0800 |
commit | 966cd6a8ca5f4fa2257f8baa9ccc5a173762658b (patch) | |
tree | a8146cf006e99f389661f6ae2778ca24d8b0ef40 /proc.cpp | |
parent | f243cd86c98bf07cd2b22339f27e9fde5dad979f (diff) |
Began migration of job_t away from halloc
Diffstat (limited to 'proc.cpp')
-rw-r--r-- | proc.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -213,8 +213,7 @@ job_t *job_create() while( job_get( free_id ) != 0 ) free_id++; - res = (job_t *)halloc( 0, sizeof(job_t) ); - res->job_id = free_id; + res = new job_t(free_id); job_list().push_front(res); job_set_flag( res, |