flowbits: fix memory leak

Flowbits removed from a flow by 'toggle' or 'unset' were not actually
freed, leading a small memory leak.
pull/1872/head
Victor Julien 9 years ago
parent 0dbbe016d6
commit 53af48f021

@ -88,6 +88,7 @@ static void FlowBitRemove(Flow *f, uint16_t idx)
return;
GenericVarRemove(&f->flowvar, (GenericVar *)fb);
FlowBitFree(fb);
//printf("FlowBitRemove: remove flowbit with idx %" PRIu32 "\n", idx);
#ifdef FLOWBITS_STATS

Loading…
Cancel
Save