While experimenting with a novel static analysis technique in CodeSonar, we noticed the following potential problem at the next location:
FilePath: src/comps_objmradix.c
Function: comps_objmrtree_copy
Line number: 134
Similar problems: lines 188 and 242.
I guess the intention was to deallocate the address of _destroy(rtdata->data)and NOT the address of the data field (i.e., _destroy(&rtdata->data)).
Thanks,
Petru-Florin Mihancea
ps: I just observed a similar issue is reported #39
While experimenting with a novel static analysis technique in CodeSonar, we noticed the following potential problem at the next location:
FilePath: src/comps_objmradix.c
Function: comps_objmrtree_copy
Line number: 134
Similar problems: lines 188 and 242.
I guess the intention was to deallocate the address of _destroy(rtdata->data)and NOT the address of the data field (i.e., _destroy(&rtdata->data)).
Thanks,
Petru-Florin Mihancea
ps: I just observed a similar issue is reported #39