[PR #10696] [MERGED] llama: fix memory leak for grammar #75624

Closed
opened 2026-05-05 08:03:08 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/10696
Author: @ParthSareen
Created: 5/13/2025
Status: Merged
Merged: 5/13/2025
Merged by: @ParthSareen

Base: mainHead: parth/memory-leak-grammar-cleanup


📝 Commits (1)

  • 59be24d llama: fix memory leak for grammar

📊 Changes

1 file changed (+3 additions, -0 deletions)

View changed files

📝 llama/sampling_ext.cpp (+3 -0)

📄 Description

Closes https://github.com/ollama/ollama/issues/10688


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ollama/ollama/pull/10696 **Author:** [@ParthSareen](https://github.com/ParthSareen) **Created:** 5/13/2025 **Status:** ✅ Merged **Merged:** 5/13/2025 **Merged by:** [@ParthSareen](https://github.com/ParthSareen) **Base:** `main` ← **Head:** `parth/memory-leak-grammar-cleanup` --- ### 📝 Commits (1) - [`59be24d`](https://github.com/ollama/ollama/commit/59be24d92e438f193b6c3a0afbe7cd1431e0c297) llama: fix memory leak for grammar ### 📊 Changes **1 file changed** (+3 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `llama/sampling_ext.cpp` (+3 -0) </details> ### 📄 Description Closes https://github.com/ollama/ollama/issues/10688 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-05-05 08:03:08 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#75624