aboutsummaryrefslogtreecommitdiffhomepage
path: root/proc.cpp
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-01-29 18:25:54 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-01-29 18:25:54 -0800
commit966cd6a8ca5f4fa2257f8baa9ccc5a173762658b (patch)
treea8146cf006e99f389661f6ae2778ca24d8b0ef40 /proc.cpp
parentf243cd86c98bf07cd2b22339f27e9fde5dad979f (diff)
Began migration of job_t away from halloc
Diffstat (limited to 'proc.cpp')
-rw-r--r--proc.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/proc.cpp b/proc.cpp
index 25a6df03..1ebc9a27 100644
--- a/proc.cpp
+++ b/proc.cpp
@@ -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,