cid#318873 silence bogus Double free
Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com> Change-Id: Ie4b0753e305f2232673837bcf7a376ad7622c120
This commit is contained in:
parent
acbea27acf
commit
5acb4138e3
1 changed files with 2 additions and 0 deletions
|
@ -832,6 +832,8 @@ WopiStorage::WOPIFileInfo::WOPIFileInfo(const FileInfo& fileInfo,
|
|||
anonObject->set("UserFriendlyName", COOLWSD::anonymizeUsername(_username));
|
||||
}
|
||||
anonObject->stringify(wopiResponse);
|
||||
|
||||
// coverity[freed_arg] - object/anonObject's nRefCount is > 1 here
|
||||
}
|
||||
else
|
||||
object->stringify(wopiResponse);
|
||||
|
|
Loading…
Reference in a new issue