]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commitdiff
coreml : fix seg fault, double free (#919, #917, #899)
authorGeorgi Gerganov <redacted>
Sun, 14 May 2023 06:42:19 +0000 (09:42 +0300)
committerGeorgi Gerganov <redacted>
Sun, 14 May 2023 06:42:19 +0000 (09:42 +0300)
coreml/whisper-encoder.mm

index 49aace8cb1fc97b8b4c39ea563dea7bfcc930587..2fcccea1875c873af7c212a7afb8cf8c704f5389 100644 (file)
@@ -53,7 +53,6 @@ void whisper_coreml_encode(
 
     memcpy(out, outCoreML.output.dataPointer, outCoreML.output.count * sizeof(float));
 
-    [outCoreML release];
     [inMultiArray release];
 }