summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/Svc_crshdmp/dumper.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/Svc_crshdmp/dumper.cpp b/plugins/Svc_crshdmp/dumper.cpp
index 2d6a0a5f1a..5d3a325ff1 100644
--- a/plugins/Svc_crshdmp/dumper.cpp
+++ b/plugins/Svc_crshdmp/dumper.cpp
@@ -502,7 +502,9 @@ void PrintVersionInfo(bkstring& buffer, unsigned flags)
if (flags & VI_FLAG_PRNVAR)
{
- GetFreeDiskString(profpath, buffer);
+ TCHAR *profpathfull = Utils_ReplaceVarsT(profpath);
+ GetFreeDiskString(profpathfull, buffer);
+ mir_free(profpathfull);
buffer.append(TEXT("\r\n"));
}