]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commit
ggml alloc: Fix for null dereference on alloc failure (llama/5200)
authorPaul Tsochantaris <redacted>
Mon, 29 Jan 2024 22:19:29 +0000 (22:19 +0000)
committerGeorgi Gerganov <redacted>
Tue, 30 Jan 2024 19:27:59 +0000 (21:27 +0200)
commit8a7d6ff51a4656f8ef7d587999a0788d6761fe62
tree38238ba207ef6295d563be0ce4efc0b3e1aa3c91
parent25f650a8e88d08f3bb7f5402ba393a602f173350
ggml alloc: Fix for null dereference on alloc failure (llama/5200)

* Fix for a null pointer dereference if a metal GGML buffer fails to be allocated

* Freeing the allocated buffers rather than the pointer in ggml-alloc.c

* Fixed the fix of the fix
ggml-alloc.c