Index: vmprep.c
===================================================================
--- vmprep.c	(revision 535923)
+++ vmprep.c	(working copy)
@@ -555,15 +555,14 @@
         apr_thread_rwlock_unlock(cfg->compiled_files_lock);
 
         int stale = 0;
-        apr_finfo_t *finfo = NULL;
+        apr_finfo_t finfo;
         if (cache == NULL || spec->code_cache_style == APW_CODE_CACHE_STAT) {
             ap_log_perror(APLOG_MARK, APLOG_DEBUG, 0, working_pool, "stating %s", spec->file);
 
-            finfo = apr_palloc(working_pool, sizeof(apr_finfo_t));
-            apr_stat(finfo, spec->file, APR_FINFO_MTIME, working_pool);
+            apr_stat(&finfo, spec->file, APR_FINFO_MTIME, working_pool);
 
             // has the file been modified or is this the first time we load the file?
-            if (cache == NULL || finfo->mtime > cache->mtime) {
+            if (cache == NULL || finfo.mtime > cache->mtime) {
                 // we're expired
                 ap_log_perror(APLOG_MARK, APLOG_DEBUG, 0, working_pool, "file is stale: %s ", spec->file);
                 stale = 1;
@@ -642,7 +641,7 @@
 
             cache->parts = d->parts;
             cache->pool = d->pool; 
-            cache->mtime = finfo->mtime;
+            cache->mtime = finfo.mtime;
             
             apr_thread_rwlock_unlock(cfg->compiled_files_lock);
 
