Skip to content

Commit e145790

Browse files
committed
fix memleak by properly using str::JoinTemp()
1 parent 1bd4109 commit e145790

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/EnginePs.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ static EngineBase* ps2pdf(const char* path) {
202202
return nullptr;
203203
}
204204

205-
TempStr nameHint = str::Join(path, ".pdf");
205+
TempStr nameHint = str::JoinTemp(path, ".pdf");
206206
return CreateEngineMupdfFromStream(stream, nameHint);
207207
}
208208

0 commit comments

Comments
 (0)