1N/A/*
1N/A *
1N/A * Copyright 1998 Sun Microsystems, Inc. All rights reserved.
1N/A * Use is subject to license terms.
1N/A *
1N/A *
1N/A * Comments:
1N/A *
1N/A */
1N/A
1N/A#pragma ident "%Z%%M% %I% %E% SMI"
1N/A
1N/A#include <stdlib.h>
1N/A#include <stdio.h>
1N/A#include <ctype.h>
1N/A#include <string.h>
1N/A
1N/Avoid free_strarray( char **sap )
1N/A{
1N/A int i;
1N/A
1N/A if ( sap != NULL ) {
1N/A for ( i = 0; sap[ i ] != NULL; ++i ) {
1N/A free( sap[ i ] );
1N/A }
1N/A free( (char *)sap );
1N/A }
1N/A}