FreeTwoDim Example Function

ESSG_VOID_T FreeTwoDim(ESSG_PPDATA_T ppDataToFree,
                       ESSG_ULONG_T ulRows)
{
   ESSG_ULONG_T ulIndex;

   for (ulIndex = 0; ulIndex < ulRows; ulIndex++)
   {
      if (ppDataToFree[ulIndex]->usType == ESSG_DT_STRING)
      {
         free(ppDataToFree[ulIndex]->Value.pszStr);
      }
      free(ppDataToFree[ulIndex]);
   }
   free(ppDataToFree);
}

delete