Spaces:
Running
Running
coreml : fix seg fault, double free (#919, #917, #899)
Browse files
coreml/whisper-encoder.mm
CHANGED
|
@@ -53,7 +53,6 @@ void whisper_coreml_encode(
|
|
| 53 |
|
| 54 |
memcpy(out, outCoreML.output.dataPointer, outCoreML.output.count * sizeof(float));
|
| 55 |
|
| 56 |
-
[outCoreML release];
|
| 57 |
[inMultiArray release];
|
| 58 |
}
|
| 59 |
|
|
|
|
| 53 |
|
| 54 |
memcpy(out, outCoreML.output.dataPointer, outCoreML.output.count * sizeof(float));
|
| 55 |
|
|
|
|
| 56 |
[inMultiArray release];
|
| 57 |
}
|
| 58 |
|