]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Source/tasks.c
Fix potential memory leak in the Win32 FreeRTOS+TCP network interface initialisation...
[freertos] / FreeRTOS / Source / tasks.c
index 492bf874e764f5f25f0d2049c0e955cf7771353d..13aaf135c04f32433086f929bfc21490591ce250 100644 (file)
@@ -2104,6 +2104,7 @@ void vTaskSuspendAll( void )
        post in the FreeRTOS support forum before reporting this as a bug! -\r
        http://goo.gl/wu4acr */\r
        ++uxSchedulerSuspended;\r
+       portMEMORY_BARRIER();\r
 }\r
 /*----------------------------------------------------------*/\r
 \r