From aad0167bc3accc17ec80db5225576e4130383cc7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E4=B8=BA?= Date: Thu, 14 Nov 2024 14:50:49 +0800 Subject: [PATCH] audio embedding free() (but still memory leakage detected) --- examples/qwen2-audio/qwen2.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/qwen2-audio/qwen2.cpp b/examples/qwen2-audio/qwen2.cpp index a42b85bdc..ad6a199c7 100644 --- a/examples/qwen2-audio/qwen2.cpp +++ b/examples/qwen2-audio/qwen2.cpp @@ -763,6 +763,7 @@ static bool omni_eval_audio_embed(llama_context *ctx_llama, ggml_tensor *audio_e } *n_past += n_eval; } + free(audio_embed_data); return true; }