mirror of
https://github.com/Samsung/escargot.git
synced 2026-06-22 10:01:50 +00:00
Fix defects discovered in coverity scan
* fix control flow issues * fix uninitialized variables Signed-off-by: HyukWoo Park <hyukwoo.park@samsung.com>
This commit is contained in:
parent
bbacfbac0d
commit
56e3ec638b
7 changed files with 87 additions and 84 deletions
|
|
@ -467,7 +467,7 @@ public:
|
|||
if (!absPath) {
|
||||
return std::string();
|
||||
}
|
||||
std::string utf8AbsolutePath = absPath ? absPath : "";
|
||||
std::string utf8AbsolutePath = absPath;
|
||||
free(absPath);
|
||||
|
||||
return utf8AbsolutePath;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue