We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3fac5f8 + cba0326 commit e12e9bfCopy full SHA for e12e9bf
src/base_alloc/base_alloc.c
@@ -1,5 +1,5 @@
1
/*
2
- * Copyright (C) 2024 Intel Corporation
+ * Copyright (C) 2024-2025 Intel Corporation
3
*
4
* Under the Apache License v2.0 with LLVM Exceptions. See LICENSE.TXT.
5
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
@@ -230,6 +230,7 @@ void *umf_ba_alloc(umf_ba_pool_t *pool) {
230
// check if the free list is not empty
231
if (pool->metadata.free_list == NULL) {
232
LOG_ERR("base_alloc: Free list should not be empty before new alloc");
233
+ utils_mutex_unlock(&pool->metadata.free_lock);
234
return NULL;
235
}
236
0 commit comments