diff options
author | denis <> | 2007-02-01 22:23:56 +0000 |
---|---|---|
committer | denis <> | 2007-02-01 22:23:56 +0000 |
commit | 484565b6b782e27053d21785aa8b89597e1b3843 (patch) | |
tree | 70eae4c1078c78b3b4179eec2d9308e5cff6803d /trackerlogic.c | |
parent | 4569b9ffdf9507b4444f70fcb8144fa0ba6dc9fe (diff) |
clear the freed mempointer
Diffstat (limited to 'trackerlogic.c')
-rw-r--r-- | trackerlogic.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/trackerlogic.c b/trackerlogic.c index 26d50f4..81db51d 100644 --- a/trackerlogic.c +++ b/trackerlogic.c | |||
@@ -103,6 +103,7 @@ static int vector_remove_peer( ot_vector *vector, ot_peer *peer ) { | |||
103 | /* for peer pools its safe to let them go, | 103 | /* for peer pools its safe to let them go, |
104 | in 999 of 1000 this happens in older pools, that won't ever grow again */ | 104 | in 999 of 1000 this happens in older pools, that won't ever grow again */ |
105 | free( vector->data ); | 105 | free( vector->data ); |
106 | vector->data = NULL; | ||
106 | vector->space = 0; | 107 | vector->space = 0; |
107 | } | 108 | } |
108 | return exactmatch; | 109 | return exactmatch; |