Browse Source

clear the freed mempointer

master
Denis Ahrens 15 years ago
parent
commit
5ebd2371e5
  1. 1
      trackerlogic.c

1
trackerlogic.c

@ -103,6 +103,7 @@ static int vector_remove_peer( ot_vector *vector, ot_peer *peer ) {
/* for peer pools its safe to let them go,
in 999 of 1000 this happens in older pools, that won't ever grow again */
free( vector->data );
vector->data = NULL;
vector->space = 0;
}
return exactmatch;

Loading…
Cancel
Save