On Mon, Jan 04, 2016 at 04:18:39PM -0800, William Tu wrote:
> Free memory allocated from table_add_column and table_add_row.
> Test case: vsctl-bashcomp - basic verification/argument completion(7,8)
> Call stack is below:
>     xrealloc (util.c:123)
>     table_add_column (table.c:146) or table_add_row (table.c:172)
>     do_list_tables (ovsdb-client.c:449)
>     main (ovsdb-client.c:151)
> 
> Signed-off-by: William Tu <[email protected]>
> Signed-off-by: Daniele Di Proietto <[email protected]>
> Co-authored-by: Daniele Di Proietto <[email protected]>

"if (x) { free(x); }" can always be written as just "free(x);"
I changed that in one place and will apply this to master in a minute.
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev

Reply via email to