mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-12-27 09:38:16 +00:00
Fix potential memory leak in the Win32 FreeRTOS+TCP network interface initialisation sequence.
Introduce portMEMORY_BARRIER() macro to assist with memory access ordering when suspending the scheduler if link time optimization is used.
This commit is contained in:
@@ -389,6 +389,8 @@ uint32_t ulNetMask;
|
||||
{
|
||||
printf( "\nAn error occurred setting the packet filter.\n" );
|
||||
}
|
||||
|
||||
pcap_freecode( &xFilterCode );
|
||||
}
|
||||
|
||||
/* Create the buffers used to pass packets between the FreeRTOS simulator
|
||||
|
||||
Reference in New Issue
Block a user