[ovs-git] [ovn-org/ovn] 1447f1: ovn-nbctl: Fix memory leak when parsing LR policy ...

Dumitru Ceara noreply at github.com
Wed Nov 25 08:25:09 UTC 2020


  Branch: refs/heads/master
  Home:   https://github.com/ovn-org/ovn
  Commit: 1447f1d405a812fa363b2ed52a64fae15a0f66cf
      https://github.com/ovn-org/ovn/commit/1447f1d405a812fa363b2ed52a64fae15a0f66cf
  Author: Dumitru Ceara <dceara at redhat.com>
  Date:   2020-11-25 (Wed, 25 Nov 2020)

  Changed paths:
    M utilities/ovn-nbctl.c

  Log Message:
  -----------
  ovn-nbctl: Fix memory leak when parsing LR policy options.

Fixes: 742474bad730 ("ovn-nbctl: Enhance lr-policy-add to set the options.")
Signed-off-by: Dumitru Ceara <dceara at redhat.com>
Signed-off-by: Numan Siddique <numans at ovn.org>


  Commit: 8fb54e16378c1b130d2e0e84bea6e0b80521cae3
      https://github.com/ovn-org/ovn/commit/8fb54e16378c1b130d2e0e84bea6e0b80521cae3
  Author: Dumitru Ceara <dceara at redhat.com>
  Date:   2020-11-25 (Wed, 25 Nov 2020)

  Changed paths:
    M utilities/ovn-nbctl.c

  Log Message:
  -----------
  ovn-nbctl: Cleanup allocated memory to keep valgrind happy.

Fixes: 58287c369bed ("ovn-nbctl: Initial support for daemon mode.")
Signed-off-by: Dumitru Ceara <dceara at redhat.com>
Signed-off-by: Numan Siddique <numans at ovn.org>


  Commit: 2a076386cd526d116d970f74ca63810541bef4de
      https://github.com/ovn-org/ovn/commit/2a076386cd526d116d970f74ca63810541bef4de
  Author: Dumitru Ceara <dceara at redhat.com>
  Date:   2020-11-25 (Wed, 25 Nov 2020)

  Changed paths:
    M utilities/ovn-nbctl.c
    M utilities/ovn-sbctl.c

  Log Message:
  -----------
  utilities: Free argv returned by ovs_cmdl_env_parse_all().

This is not a real leak but it's reported by valgrind as such and creates
noise in the output.

Signed-off-by: Dumitru Ceara <dceara at redhat.com>
Signed-off-by: Numan Siddique <numans at ovn.org>


Compare: https://github.com/ovn-org/ovn/compare/2ba8b950ad14...2a076386cd52


More information about the git mailing list