openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/rsyslog/8.1903.0-r0/rsyslog-8.1903.0/runtime/strgen.c
static rsRetVal DestructStrgenList(strgenList_t** ppListRoot)
{
    strgenList_t* pStrgenLst;
    strgenList_t* pStrgenLstDel;

    pStrgenLst = *ppListRoot;
    while (pStrgenLst != NULL)
    {
        pStrgenLstDel = pStrgenLst;
        pStrgenLst = pStrgenLst->pNext;
        free(pStrgenLstDel);
    }
    *ppListRoot = NULL;
    return RS_RET_OK;
}
/* destruct a strgen list. The list elements are destroyed, but the strgen
 * objects themselves are not modified. (That is done at a late stage during
 * rsyslogd shutdown and need not be considered here.)
 */
destruct a strgen list. The list elements are destroyed, but the strgen
objects themselves are not modified. (That is done at a late stage during
rsyslogd shutdown and need not be considered here.)
destruct a strgen list . The list elements are destroyed but the strgen objects themselves are not modified . ( That is done at a late stage during rsyslogd shutdown and need not be considered here . )
static rsRetVal DestructStrgenList(strgenList_t** ppListRoot)
{
    strgenList_t* pStrgenLst;
    strgenList_t* pStrgenLstDel;
    pStrgenLst = *ppListRoot;
    while (pStrgenLst != NULL)
    {
        pStrgenLstDel = pStrgenLst;
        pStrgenLst = pStrgenLst->pNext;
        free(pStrgenLstDel);
    }
    *ppListRoot = NULL;
    return RS_RET_OK;
}
static rsRetVal DestructStrgenList ( strgenList_t * * ppListRoot ) { strgenList_t * pStrgenLst ; strgenList_t * pStrgenLstDel ; pStrgenLst = * ppListRoot ; while ( pStrgenLst != NULL ) { pStrgenLstDel = pStrgenLst ; pStrgenLst = pStrgenLst -> pNext ; free ( pStrgenLstDel ) ; } * ppListRoot = NULL ; return RS_RET_OK ; }
destruct a strgen list.
destruct a strgen list .