httpheaderfree.c (511B)
1 /************************************************************************* 2 * This file is part of Crosroads 1.23, a load balancer and fail over 3 * utility for TCP. Copyright (c) Karel Kubat, distributed under GPL. 4 * Visit http://crossroads.e-tunity.com for information. 5 *************************************************************************/ 6 #include "crossroads.h" 7 8 void http_header_free (HttpHeader *m) { 9 int i; 10 11 if (!m) 12 return; 13 for (i = 0; i < m->nheader; i++) 14 free (m->header[i]); 15 }