diff options
Diffstat (limited to 'ioutil.c')
-rw-r--r-- | ioutil.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -39,8 +39,7 @@ __attribute__((destructor)) static void iou_destructor(void) __attribute__((constructor)) static void iou_constructor(void) { dev_iou = hash_initialize(7, NULL, iou_hash, iou_cmp, free); - if (!dev_iou) - mog_oom(); + mog_oom_if_null(dev_iou); } static bool cleanup_begin_i(void *ent, void *unused) |