Skip to content

Commit b20518f

Browse files
committed
cont : fix free
ggml-ci
1 parent 4854fda commit b20518f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ggml/src/ggml-metal/ggml-metal.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1087,7 +1087,7 @@ static bool ggml_backend_metal_buffer_rset_init(struct ggml_backend_metal_buffer
10871087

10881088
// rset free
10891089
static void ggml_backend_metal_buffer_rset_free(struct ggml_backend_metal_buffer_context * ctx) {
1090-
#if TARGET_OS_OSX
1090+
#if TARGET_OS_OSX && __MAC_OS_X_VERSION_MAX_ALLOWED >= 150000
10911091
if (@available(macOS 15.0, *)) {
10921092
if (ctx->rset) {
10931093
[ctx->rset endResidency];

0 commit comments

Comments
 (0)