summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/mock.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/mock.c b/common/mock.c
index a73ae9d..ab223f8 100644
--- a/common/mock.c
+++ b/common/mock.c
@@ -193,6 +193,7 @@ module_reset_objects (CK_SLOT_ID slot_id)
the_objects = p11_dict_new (p11_dict_direct_hash,
p11_dict_direct_equal,
NULL, p11_attrs_free);
+ return_if_fail (the_objects != NULL);
}
p11_dict_clear (the_objects);