[vim/vim] Memory leak in qf_push_dir() (PR #19552)

2 views
Skip to first unread message

Christian Brabandt

unread,
4:09 PM (5 hours ago) 4:09 PM
to vim/vim, Subscribed

Problem: Memory leak in qf_push_dir() (after v9.2.0091)
Problem: free dirname, if it is not a directory.


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

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

Commit Summary

  • 4299238 Memory leak in qf_push_dir()

File Changes

(1 file)

Patch Links:


Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/19552@github.com>

John Marriott

unread,
5:38 PM (3 hours ago) 5:38 PM
to vim/vim, Subscribed
basilisk0315 left a comment (vim/vim#19552)

Sorry for adding this memory leak.

I think line 2840 (vim_free((*stackptr)->dirname);) can be removed as well. It is not needed.

Cheers
John


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/19552/c3987359586@github.com>

Reply all
Reply to author
Forward
0 new messages