mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2024-11-30 14:25:36 +08:00
Fix possible memory leak
This commit is contained in:
parent
4250da00c6
commit
4823a2be70
@ -110,7 +110,7 @@ static void get_broadcast_info(uint16 port)
|
|||||||
number_broadcasts++;
|
number_broadcasts++;
|
||||||
|
|
||||||
if (number_broadcasts >= MAX_BROADCASTS) {
|
if (number_broadcasts >= MAX_BROADCASTS) {
|
||||||
return;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user