Closed 0Xellos closed 5 years ago
The command free(data); (index_nsg.cpp:465) deallocates an external argument. This serves no purpose in the class IndexNSG and complicates a code that relies on data later on.
free(data);
IndexNSG
data
I suggest removing it.
Fixed
The command
free(data);
(index_nsg.cpp:465) deallocates an external argument. This serves no purpose in the classIndexNSG
and complicates a code that relies ondata
later on.I suggest removing it.