mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-09 20:33:13 +02:00
Little fix for previous throttling fix (accessing just free()d memory).
This commit is contained in:
+1
-1
@@ -788,8 +788,8 @@ void del_throttling_bucket(struct ThrottlingBucket *bucket)
|
||||
int hash;
|
||||
struct ThrottlingBucket *n;
|
||||
hash = hash_throttling(&bucket->in);
|
||||
MyFree(n);
|
||||
DelListItem(n, ThrottlingHash[hash]);
|
||||
MyFree(n);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user