Patchlet to clean up some code. It change some "apr_palloc / memcpy" construction into a single apr_pmemdup which is more easy to read.
Created attachment 18247 [details] Patch for the proposed clean-up
http://svn.apache.org/viewvc?view=rev&revision=557837
Hi All, I have found another place in modules/http/mod_mime.c where this code clean-up is applicable. The patch is against revision 806655. Boya
Created attachment 24180 [details] Another similar bug discovered in mod_mime.c
Reopened due to last comment about another same clean up which is applicable.
commited in r981085