[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openvswitch-git
Subject:    [ovs-git] Open vSwitch: timeval: Hide "memory leak" from Valgrind. (master)
From:       dev () openvswitch ! org (dev at openvswitch ! org)
Date:       2010-06-25 20:28:46
Message-ID: E1OSFW2-0005bp-Tz () li27-103 ! members ! linode ! com
[Download RAW message or body]

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".

The branch, master has been updated
       via  4cfffdd86bbb66408702eab2d9dbc8d1cfe51347 (commit)
      from  07c2523c0c48a7b285b0931f33a49fc129f2c396 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 4cfffdd86bbb66408702eab2d9dbc8d1cfe51347
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=4cfffdd86bbb66408702eab2d9dbc8d1cfe51347
                
Author: Ben Pfaff <blp at nicira.com>
		
timeval: Hide "memory leak" from Valgrind.
		
In glibc, "timer_t" is a "void *" that appears to point into malloc()'d
memory.  By throwing it away entirely, we leak it, which makes valgrind
complain.  We really don't ever care to use the timer object again, but
we can't destroy it without stopping the periodic timer.  So make it
static to avoid a warning from Valgrind.


-----------------------------------------------------------------------

Summary of changes:
 lib/timeval.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Open vSwitch


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic