[ovs-git] [openvswitch/ovs] 6c16d5: execution: Fix bug that leaks ovsdb_row

GitHub noreply at github.com
Wed Nov 29 21:56:56 UTC 2017


  Branch: refs/heads/branch-2.8
  Home:   https://github.com/openvswitch/ovs
  Commit: 6c16d598e36ac2ec30e1984e740ac7ea4094d459
      https://github.com/openvswitch/ovs/commit/6c16d598e36ac2ec30e1984e740ac7ea4094d459
  Author: Yifeng Sun <pkusunyifeng at gmail.com>
  Date:   2017-11-29 (Wed, 29 Nov 2017)

  Changed paths:
    M ovsdb/execution.c

  Log Message:
  -----------
  execution: Fix bug that leaks ovsdb_row

If there is an error after ovsdb_rbac_insert, 'row' is leaked.
So move the existing ovsdb_row_destroy to the function end.

Signed-off-by: Yifeng Sun <pkusunyifeng at gmail.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>




More information about the git mailing list