Skip to content

Commit

Permalink
Update source/FreeRTOS_IP_Utils.c
Browse files Browse the repository at this point in the history
Co-authored-by: Aniruddha Kanhere <[email protected]>
  • Loading branch information
evpopov and AniruddhaKanhere authored Jan 14, 2024
1 parent 7b743e8 commit 50829c6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion source/FreeRTOS_IP_Utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -1850,7 +1850,8 @@ uint16_t usChar2u16( const uint8_t * pucPtr )
if( xNetworkGoingUp == pdTRUE )
{
/* We will need an MLD report structure a few lines down, so allocate one. */
if( NULL == ( pxMRD = ( MCastReportData_t * ) pvPortMalloc( sizeof( MCastReportData_t ) ) ) )
pxMRD = ( MCastReportData_t * ) pvPortMalloc( sizeof( MCastReportData_t ) );
if( NULL == pxMRD )
{
break;
}
Expand Down

0 comments on commit 50829c6

Please sign in to comment.