tumi8 / vermont

Vermont (VERsatile MONitoring Toolkit) is an open-source software toolkit for the creation and processing of network flow data.
https://www.net.in.tum.de/research/software/#vermont
GNU General Public License v2.0
58 stars 22 forks source link

ipfix_deinit_exporter() does not correctly NULL exporter pointer #38

Closed nickbroon closed 8 years ago

nickbroon commented 9 years ago

int ipfix_deinit_exporter(ipfix_exporter *exporter) {

        // free own memory
        free(exporter);
        exporter=NULL;

        return 0;
}

The exporter parameter is assigned a NULL value, but this will have no effect outside the function. The function should probably accept a `**exporter`` parameter instead.