[PATCH 5/5] parser: free val.str after xstrtokenize
Dan Nicholson
dbn.lists at gmail.com
Wed Nov 2 05:41:15 PDT 2011
On Nov 1, 2011 6:15 AM, <przanoni at gmail.com> wrote:
>
> From: Paulo Zanoni <paulo.r.zanoni at intel.com>
>
> After we tokenize val.str, we discard it.
>
> This is just one example:
> 6 bytes in 1 blocks are definitely lost in loss record 24 of 652
> at 0x4C2779D: malloc (in vgpreload_memcheck-amd64-linux.so)
> by 0x4D744D: xf86getToken (scan.c:400)
> by 0x4D75F1: xf86getSubToken (scan.c:462)
> by 0x4DB060: xf86parseInputClassSection (InputClass.c:145)
> by 0x4D664C: xf86readConfigFile (read.c:184)
> by 0x490556: xf86HandleConfigFile (xf86Config.c:2360)
> by 0x49AA77: InitOutput (xf86Init.c:365)
> by 0x425A7A: main (main.c:204)
>
> Signed-off-by: Paulo Zanoni <paulo.r.zanoni at intel.com>
Reviewed-by: Dan Nicholson <dbn.lists at gmail.com>
More information about the xorg-devel
mailing list