Skip to content

Commit

Permalink
QATAPP-29007: fix crash when perf test with svm
Browse files Browse the repository at this point in the history
Change-Id: Ib841a3ad40d1da626bd8519a3cb5c7b77a13e12d
Signed-off-by: Chengfei Zhu <chengfei.zhu@intel.com>
  • Loading branch information
cfzhu committed Mar 24, 2023
1 parent ae4ef94 commit 666d229
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/main.c
Expand Up @@ -1262,7 +1262,7 @@ void *qzCompressAndDecompress(void *arg)
goto done;
}

if (g_perf_svm) {
if (g_perf_svm && g_input_file_name) {
memcpy(src, ((TestArg_T *)arg)->src, src_sz);
}

Expand Down

0 comments on commit 666d229

Please sign in to comment.