diff options
Diffstat (limited to 'cfg.c')
-rw-r--r-- | cfg.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -53,8 +53,7 @@ static void cfg_atexit(void) __attribute__((constructor)) static void cfg_init(void) { all_cfg = hash_initialize(7, NULL, cfg_hash, cfg_cmp, cfg_free); - if (!all_cfg) - mog_oom(); + mog_oom_if_null(all_cfg); atexit(cfg_atexit); } |