Hello,
Can someone look at file_name_completion and
file_name_completion_unwind in dired.c and tell me if the following
conclusion is correct:
- file_name_completion allocates a cons with noseeum_cons()
- if no error occurs, the cons' car is reset to Qnil
- we unwind and file_name_completion_unwind is called.
the car is Qnil so we return and the cons is never freed.
(I'm assuming that noseeum_cons are not GC'd)
this means we leak a cons on every file completion.
maybe no big deal but i'll fix it if someone verifies that
i'm correct.
greg
Show replies by date