]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commit
ruby : fix dangling pointers, memory leak, and SEGV on parallel transcription (#3715)
authorKITAITI Makoto <redacted>
Sat, 21 Mar 2026 17:03:00 +0000 (02:03 +0900)
committerGitHub <redacted>
Sat, 21 Mar 2026 17:03:00 +0000 (02:03 +0900)
commit76684141a5d059be71cbe23dc2f0ed552213ba2d
tree482359b3c78cc2768cde9e83cfc76c04ec4bcf06
parent9386f239401074690479731c1e41683fbbeac557
ruby : fix dangling pointers, memory leak, and SEGV on parallel transcription (#3715)

* Prevent dangling pointers

* Use proper free function

* Free callback containers

* Set default log callback when nil is passed to log_set

* Raise error if callbacks set when parallel transcription

* Bump version to 1.3.7

* Make tests follow spec change

* Add note on parallel transcription and callbacks

* Update signature of Whisper.log_set [skip ci]
bindings/ruby/README.md
bindings/ruby/ext/ruby_whisper.c
bindings/ruby/ext/ruby_whisper.h
bindings/ruby/ext/ruby_whisper_context.c
bindings/ruby/ext/ruby_whisper_params.c
bindings/ruby/ext/ruby_whisper_transcribe.cpp
bindings/ruby/sig/whisper.rbs
bindings/ruby/test/test_params.rb
bindings/ruby/test/test_whisper.rb
bindings/ruby/whispercpp.gemspec