qgsm/cellular_qgsm.c
CellularError_t Cellular_ModuleCleanUp( const CellularContext_t * pContext )
{
    CellularError_t cellularStatus = CELLULAR_SUCCESS;

    if( pContext == NULL )
    {
        cellularStatus = CELLULAR_INVALID_HANDLE;
    }
    else
    {
        /* Delete DNS queue. */
        vQueueDelete( cellularqgsmContext.pktDnsQueue );

        /* Delete the mutex for DNS. */
        PlatformMutex_Destroy( &cellularqgsmContext.dnsQueryMutex );
    }

    return cellularStatus;
}
/* FreeRTOS Cellular Common Library porting interface. */
/* coverity[misra_c_2012_rule_8_7_violation] */
FreeRTOS Cellular Common Library porting interface.
FreeRTOS Cellular Common Library porting interface .
CellularError_t Cellular_ModuleCleanUp( const CellularContext_t * pContext )
{
    CellularError_t cellularStatus = CELLULAR_SUCCESS;
    if( pContext == NULL )
    {
        cellularStatus = CELLULAR_INVALID_HANDLE;
    }
    else
    {
        vQueueDelete( cellularqgsmContext.pktDnsQueue );
        PlatformMutex_Destroy( &cellularqgsmContext.dnsQueryMutex );
    }
    return cellularStatus;
}
CellularError_t Cellular_ModuleCleanUp ( const CellularContext_t * pContext ) { CellularError_t cellularStatus = CELLULAR_SUCCESS ; if ( pContext == NULL ) { cellularStatus = CELLULAR_INVALID_HANDLE ; } else { vQueueDelete ( cellularqgsmContext . pktDnsQueue ) ; PlatformMutex_Destroy ( & cellularqgsmContext . dnsQueryMutex ) ; } return cellularStatus ; }
FreeRTOS Cellular Common Library porting interface.
FreeRTOS Cellular Common Library porting interface .
/* Delete DNS queue. */ /* Delete the mutex for DNS. */