| iMatix home page
| << | < | > | >>
SFL Logo SFL
Version 1.91

 

strtfree

#include "sflstr.h"
void
strtfree (
    char **table)

Synopsis

Releases a table of strings as created by descr2strt() or a similar function. If the argument is null, does nothing.

Source Code - (sflstr.c)

{
    int
        string_nbr;                     /*  Index into string array          */

    if (table)
      {
        for (string_nbr = 0; table [string_nbr]; string_nbr++)
            mem_free (table [string_nbr]);
        mem_free (table);
      }
}

| << | < | > | >> iMatix Copyright © 1996-98 iMatix