From 70af52a3160e43a4eec61a492ff2770385b91533 Mon Sep 17 00:00:00 2001 From: Georgi Gerganov Date: Sun, 14 May 2023 09:42:19 +0300 Subject: [PATCH] coreml : fix seg fault, double free (#919, #917, #899) --- coreml/whisper-encoder.mm | 1 - 1 file changed, 1 deletion(-) diff --git a/coreml/whisper-encoder.mm b/coreml/whisper-encoder.mm index 49aace8c..2fcccea1 100644 --- a/coreml/whisper-encoder.mm +++ b/coreml/whisper-encoder.mm @@ -53,7 +53,6 @@ void whisper_coreml_encode( memcpy(out, outCoreML.output.dataPointer, outCoreML.output.count * sizeof(float)); - [outCoreML release]; [inMultiArray release]; }