nano-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nano-devel] [PATCH] browser: awkward behaviour when trying to open


From: Rishabh Dave
Subject: Re: [Nano-devel] [PATCH] browser: awkward behaviour when trying to open inaccessible directory using goto prompt
Date: Fri, 24 Jun 2016 16:59:20 +0530

> Can you provide a fix for that?  As a separate patch, on top of
> the existing one.  I will melt it in.

Valgrind points the memory leak at charealloc() after the statement
"if (newpath[0] != '/')". Couldn't find a leak there. According to me,
when newpath is used for goto_dir_void it has its own allocated memory
which is never deallocated. So, along with little adjustments I
received positive result. Patch is attached.

Attachment: free-newpath-somewhere.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]