|
From: | Rishabh Dave |
Subject: | Re: [Nano-devel] Memory leak in browser |
Date: | Wed, 24 Feb 2016 23:06:34 +0530 |
> Manner #1 -
>
> + temp = striponedir(filelist[selected]);
> + prev_dir = mallocstrcpy(NULL, temp);
Why not simply free 'prev_dir' at the end of the routine?
temp-localized.patch
Description: Text Data
[Prev in Thread] | Current Thread | [Next in Thread] |