qemacs-devel
[Top][All Lists]
Advanced

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

[Qemacs-devel] [PATCH] Shut up valgrind


From: François Revol
Subject: [Qemacs-devel] [PATCH] Shut up valgrind
Date: Tue, 21 Jan 2014 22:33:56 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130630 Icedove/17.0.7

This shuts up valgrind which seems to think QEFont::refcount isn't
initialized (while in theory qe_mallocz() sets it to 0 but well...

==29937== Conditional jump or move depends on uninitialised value(s)
==29937==    at 0x40ECC1: print_at_byte (display.h:259)
==29937==    by 0x40F111: put_status (qe.c:4521)
==29937==    by 0x415E2A: qe_init (qe.c:7987)
==29937==    by 0x41F66E: url_main_loop (unix.c:305)
==29937==    by 0x409028: main (qe.c:8040)
==29937==
==29937== Conditional jump or move depends on uninitialised value(s)
==29937==    at 0x40C213: get_line_height (display.h:259)
==29937==    by 0x4134E5: do_refresh (qe.c:6472)
==29937==    by 0x415E37: qe_init (qe.c:7992)
==29937==    by 0x41F66E: url_main_loop (unix.c:305)
==29937==    by 0x409028: main (qe.c:8040)
==29937==


François.

Attachment: display-valgrind-001.patch
Description: Text Data


reply via email to

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