[ovs-git] [openvswitch/ovs] c2715e: netlink-notifier: Avoid valgrind possible leak war...

GitHub noreply at github.com
Tue Jul 5 15:34:51 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: c2715e8d6354e4b1c7159fe69faa9ff2f31ee7db
      https://github.com/openvswitch/ovs/commit/c2715e8d6354e4b1c7159fe69faa9ff2f31ee7db
  Author: Ben Pfaff <blp at ovn.org>
  Date:   2016-07-05 (Tue, 05 Jul 2016)

  Changed paths:
    M lib/netlink-notifier.c

  Log Message:
  -----------
  netlink-notifier: Avoid valgrind possible leak warning.

This ensures that pointers to nln_notifiers are to the beginning of the
structs instead of to the middle, meaning that valgrind does not consider
them "possible" leaks.

Reported-by: William Tu <u9012063 at gmail.com>
Tested-by: William Tu <u9012063 at gmail.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>




More information about the git mailing list