41a6c3
--- a/docs/conf/magic	2019/07/05 11:22:46	1862603
41a6c3
+++ b/docs/conf/magic	2019/07/05 11:26:12	1862604
41a6c3
@@ -87,7 +87,7 @@
41a6c3
 # Microsoft WAVE format (*.wav)
41a6c3
 # [GRR 950115:  probably all of the shorts and longs should be leshort/lelong]
41a6c3
 #					Microsoft RIFF
41a6c3
-0	string		RIFF		audio/unknown
41a6c3
+0	string		RIFF		
41a6c3
 #					- WAVE format
41a6c3
 >8	string		WAVE		audio/x-wav
41a6c3
 # MPEG audio.
41a6c3
--- a/modules/metadata/mod_mime_magic.c	2019/07/05 11:22:46	1862603
41a6c3
+++ b/modules/metadata/mod_mime_magic.c	2019/07/05 11:26:12	1862604
41a6c3
@@ -606,7 +606,7 @@
41a6c3
     /* high overhead for 1 char - just hope they don't do this much */
41a6c3
     str[0] = c;
41a6c3
     str[1] = '\0';
41a6c3
-    return magic_rsl_add(r, str);
41a6c3
+    return magic_rsl_add(r, apr_pstrdup(r->pool, str));
41a6c3
 }
41a6c3
 
41a6c3
 /* allocate and copy a contiguous string from a result string list */