Hi,
I was wondering why in this auto-generated file, we don't set the member count 
to 0 , when a column is unparsed?
As an example,
static void
ovsrec_interface_unparse_statistics(struct ovsdb_idl_row *row_)
{
    struct ovsrec_interface *row = ovsrec_interface_cast(row_);

    assert(inited);
    free(row->key_statistics);
    free(row->value_statistics);
   // Should've had row->n_statistics = 0; 
}
I am running into issues where while cloning this row, sometimes the 
count is still set to a positive number, while the field is null and this cause 
a crash.
Thanks,
Kiran
_______________________________________________
openflow-discuss mailing list
openflow-discuss@lists.stanford.edu
https://mailman.stanford.edu/mailman/listinfo/openflow-discuss

Reply via email to