src/GLX/libglxmapping.c
static void CleanupDisplayInfoEntry(void *unused, __GLXdisplayInfoHash *pEntry)
{
    int i;

    if (pEntry == NULL) {
        return;
    }

    for (i=0; i<GLX_CLIENT_STRING_LAST_ATTRIB; i++) {
        free(pEntry->info.clientStrings[i]);
    }

    LKDHASH_TEARDOWN(__GLXvendorXIDMappingHash,
                     pEntry->info.xidVendorHash, NULL, NULL, False);
}
/**
 * Frees a __GLXdisplayInfoHash structure.
 *
 * The caller is responsible for removing the structure from the hashtable.
 *
 * \param unused Ingored. Needed for the uthash teardown function.
 * \param pEntry The structure to free.
 */
Frees a __GLXdisplayInfoHash structure.
The caller is responsible for removing the structure from the hashtable.

\param unused Ingored. Needed for the uthash teardown function.
\param pEntry The structure to free.
Frees a __GLXdisplayInfoHash structure . The caller is responsible for removing the structure from the hashtable . \ param unused Ingored . Needed for the uthash teardown function . \ param pEntry The structure to free .
static void CleanupDisplayInfoEntry(void *unused, __GLXdisplayInfoHash *pEntry)
{
    int i;
    if (pEntry == NULL) {
        return;
    }
    for (i=0; i<GLX_CLIENT_STRING_LAST_ATTRIB; i++) {
        free(pEntry->info.clientStrings[i]);
    }
    LKDHASH_TEARDOWN(__GLXvendorXIDMappingHash,
                     pEntry->info.xidVendorHash, NULL, NULL, False);
}
static void CleanupDisplayInfoEntry ( void * unused , __GLXdisplayInfoHash * pEntry ) { int i ; if ( pEntry == NULL ) { return ; } for ( i = 0 ; i < GLX_CLIENT_STRING_LAST_ATTRIB ; i ++ ) { free ( pEntry -> info . clientStrings [ i ] ) ; } LKDHASH_TEARDOWN ( __GLXvendorXIDMappingHash , pEntry -> info . xidVendorHash , NULL , NULL , False ) ; }
Frees a __GLXdisplayInfoHash structure.
Frees a __GLXdisplayInfoHash structure .