873ee852526ee64094fbc7ac2078820b7856c00e
kent
  Wed May 4 17:20:12 2016 -0700
Adding function to free a whole list of cgiParsedVars.

diff --git src/inc/cheapcgi.h src/inc/cheapcgi.h
index 79d8fd0..e890303 100644
--- src/inc/cheapcgi.h
+++ src/inc/cheapcgi.h
@@ -563,22 +563,25 @@
 struct cgiParsedVars
 /* A parsed out cgi variable string */
     {
     struct cgiParsedVars *next;	/* In case want to make a list of these. */
     char *stringBuf;		/* Holds strings inside vars. */
     struct cgiVar *list;    /* List of variables. */
     struct hash *hash;	    /* Keyed by varName, value is just value, not cgiVar. */
     };
 
 struct cgiParsedVars *cgiParsedVarsNew(char *cgiString);
 /* Build structure containing parsed out cgiString */
 
 void cgiParsedVarsFree(struct cgiParsedVars **pTags);
 /* Free up memory associated with cgiParsedVars */
 
+void cgiParsedVarsFreeList(struct cgiParsedVars **pList);
+/* Free up list of cgiParsedVars */
+
 char *cgiScriptDirUrl();
 /* Return the cgi-bin directory path on this webserver.
  * This is not the local directory but the <path> part after the server
  * in external URLs to this webserver.
  * e.g. if CGI is called via http://localhost/subdir/cgi-bin/cgiTest
  * the returned string is /subdir/. Must be free'd. */
 #endif /* CHEAPCGI_H */