[vim/vim] fix memory leaks in copy_substring_from_pos (PR #20086)

2 views
Skip to first unread message

glepnir

unread,
4:57 AM (9 hours ago) 4:57 AM
to vim/vim, Subscribed

Problem: Memory leaks on error paths in copy_substring_from_pos.

Solution: Free the garray on OOM in copy_substring_from_pos.


You can view, comment on, or merge this pull request online at:

  https://github.com/vim/vim/pull/20086

Commit Summary

  • 3452fd3 fix memory leaks in copy_substring_from_pos

File Changes

(1 file)

Patch Links:


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/20086@github.com>

Reply all
Reply to author
Forward
0 new messages