Re: [ovs-dev] [PATCH] ovsdb: Fix memory leak when disposing 'replication_dbs'

2016-09-27 Thread Andy Zhou
On Mon, Sep 26, 2016 at 8:32 PM, Ben Pfaff wrote: > On Tue, Sep 20, 2016 at 05:49:47PM -0700, Andy Zhou wrote: > > Found by inspection. > > > > The 'replication_dbs' structure was not freed after use. > > Fix by adding a new function replication_dbs_destroy(). > > > > Also remove unnecessary glob

Re: [ovs-dev] [PATCH] ovsdb: Fix memory leak when disposing 'replication_dbs'

2016-09-26 Thread Ben Pfaff
On Tue, Sep 20, 2016 at 05:49:47PM -0700, Andy Zhou wrote: > Found by inspection. > > The 'replication_dbs' structure was not freed after use. > Fix by adding a new function replication_dbs_destroy(). > > Also remove unnecessary global pointer variables initializer. > > Signed-off-by: Andy Zhou

[ovs-dev] [PATCH] ovsdb: Fix memory leak when disposing 'replication_dbs'

2016-09-20 Thread Andy Zhou
Found by inspection. The 'replication_dbs' structure was not freed after use. Fix by adding a new function replication_dbs_destroy(). Also remove unnecessary global pointer variables initializer. Signed-off-by: Andy Zhou --- ovsdb/replication.c | 21 ++--- 1 file changed, 14 in