@@ -164,6 +164,7 @@ struct lock * lock_create(const char * name)
{
kfree(lock);
kfree(wc);
+ return NULL;
}
lock->owner = NULL;