From dea576414e4587ab67128d1bc271f29bdc406e77 Mon Sep 17 00:00:00 2001
From: oes <oes@users.sourceforge.net>
Date: Tue, 12 Nov 2002 16:50:58 +0000
Subject: [PATCH] Fixed memory leak in parse_http_request() reported by Oliver
 Stoeneberg. Fixes bug #637073

---
 src/urlmatch.c | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/src/urlmatch.c b/src/urlmatch.c
index 2f9ac229..945405a4 100644
--- a/src/urlmatch.c
+++ b/src/urlmatch.c
@@ -1,7 +1,7 @@
-const char urlmatch_rcs[] = "$Id: urlmatch.c,v 2.0 2002/06/04 14:34:21 jongfoster Exp $";
+const char urlmatch_rcs[] = "$Id: urlmatch.c,v 2.1 2002/06/06 19:03:29 jongfoster Exp $";
 /*********************************************************************
  *
- * File        :  $Source: /cvsroot/ijbswa/current/src/urlmatch.c,v $
+ * File        :  $Source: /cvsroot/ijbswa//current/src/urlmatch.c,v $
  *
  * Purpose     :  Declares functions to match URLs against URL
  *                patterns.
@@ -33,6 +33,9 @@ const char urlmatch_rcs[] = "$Id: urlmatch.c,v 2.0 2002/06/04 14:34:21 jongfoste
  *
  * Revisions   :
  *    $Log: urlmatch.c,v $
+ *    Revision 2.1  2002/06/06 19:03:29  jongfoster
+ *    Adding support for proprietary Microsoft WebDAV extensions
+ *
  *    Revision 2.0  2002/06/04 14:34:21  jongfoster
  *    Moving source files to src/
  *
@@ -476,6 +479,7 @@ jb_err parse_http_request(const char *req,
       return JB_ERR_MEMORY;
    }
 
+   free(buf);
    return JB_ERR_OK;
 }
 
-- 
2.49.0