Improve error checking in enqueue()
Check alloc in init_oper_info()