a request should have been an ap_pstrdup() call.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@90467
13f79535-47bb-0310-9956-
ffa450edef68
Changes with Apache 1.3.21
+ *) Fix a storage leak (a strdup() call) in mod_mime_magic.
+ [Jeff Trawick]
+
*) We have always used the obsolete/deprecated Netscape syntax
for our tracking cookies; now the CookieStyle directive
allows the Webmaster to choose the Netscape, RFC2109, or
va_end(ap);
/* add the buffer to the list */
- return magic_rsl_add(r, strdup(buf));
+ return magic_rsl_add(r, ap_pstrdup(r->pool, buf));
}
/* RSL hook for putchar-type functions */