projects
/
platform
/
core
/
context
/
job-scheduler.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
782854e
)
Coverity: Dereferencing Fix
90/197490/1
tizen_4.0
author
Dewal Agarwal
<d1.agarwal@samsung.com>
Fri, 11 Jan 2019 11:51:11 +0000
(17:21 +0530)
committer
Dewal Agarwal
<d1.agarwal@samsung.com>
Fri, 11 Jan 2019 11:51:11 +0000
(17:21 +0530)
Change-Id: I78015a898079ae558c154fbf20e56a18b883fe07
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
src/server/JobManager.cpp
patch
|
blob
|
history
diff --git
a/src/server/JobManager.cpp
b/src/server/JobManager.cpp
index c07d31753474e51703262b65245800465e45144b..c75970e1619e220787b9d488367b583bf77a0384 100644
(file)
--- a/
src/server/JobManager.cpp
+++ b/
src/server/JobManager.cpp
@@
-121,6
+121,7
@@
int JobManager::addJob(JobInfo* jobInfo, IClient* owner)
if (duplicate) {
_W("Duplicate found: Job-%d", duplicate->getId());
delete jobInfo;
+ jobInfo = NULL;
return duplicate->getId();
}