[ovs-dev,1/2] ovn-northd: Fix a memory leak.
diff mbox

Message ID 1473676827-19692-1-git-send-email-guru@ovn.org
State Accepted
Headers show

Commit Message

Gurucharan Shetty Sept. 12, 2016, 10:40 a.m. UTC
Signed-off-by: Gurucharan Shetty <guru@ovn.org>
---
 ovn/northd/ovn-northd.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Ben Pfaff Sept. 15, 2016, 5:25 p.m. UTC | #1
On Mon, Sep 12, 2016 at 03:40:26AM -0700, Gurucharan Shetty wrote:
> Signed-off-by: Gurucharan Shetty <guru@ovn.org>

Acked-by: Ben Pfaff <blp@ovn.org>

Patch
diff mbox

diff --git a/ovn/northd/ovn-northd.c b/ovn/northd/ovn-northd.c
index 5ccb516..648bd88 100644
--- a/ovn/northd/ovn-northd.c
+++ b/ovn/northd/ovn-northd.c
@@ -2570,6 +2570,7 @@  build_stateful(struct ovn_datapath *od, struct hmap *lflows)
                               110, ds_cstr(&match), action);
             }
 
+            free(ip_address);
             ds_destroy(&match);
             free(action);
        }