[ovs-git] [openvswitch/ovs] 38272e: execution: Fix bug that leaks ovsdb_row

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


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 38272efe9f349f822611a4808b58a400bf0ac5bf
      https://github.com/openvswitch/ovs/commit/38272efe9f349f822611a4808b58a400bf0ac5bf
  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