diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/daemon/MiddleWare.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/daemon/MiddleWare.cpp b/src/daemon/MiddleWare.cpp index ff2e1a2a..1379e4fb 100644 --- a/src/daemon/MiddleWare.cpp +++ b/src/daemon/MiddleWare.cpp @@ -173,6 +173,8 @@ static mw_result_t CreateCrashReport(const char *dump_dir_name, } ret: + if (*crash_data == NULL) + *crash_data = new_crash_data(); VERB3 log("CreateCrashReport() returns %d", r); return r; } |