about summary refs log tree commit homepage
path: root/mnt.c
diff options
context:
space:
mode:
Diffstat (limited to 'mnt.c')
-rw-r--r--mnt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mnt.c b/mnt.c
index 7205c2c..8349214 100644
--- a/mnt.c
+++ b/mnt.c
@@ -62,8 +62,8 @@ static Hash_table * mnt_new(size_t n)
 {
         Hash_table *rv = hash_initialize(n, NULL, me_hash, me_cmp, me_free);
 
-        if (!rv)
-                mog_oom();
+        mog_oom_if_null(rv);
+
         return rv;
 }