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:
4f5e971
)
Free the string allocated by g_variant_print() in JobDBusCall
33/140733/1
author
Mu-Woong Lee
<muwoong.lee@samsung.com>
Wed, 26 Jul 2017 07:27:05 +0000
(16:27 +0900)
committer
Mu-Woong Lee
<muwoong.lee@samsung.com>
Wed, 26 Jul 2017 07:27:05 +0000
(16:27 +0900)
Change-Id: I48079de1bf06fa765955180184e483ad31b98100
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
src/shared/JobAction.cpp
patch
|
blob
|
history
diff --git
a/src/shared/JobAction.cpp
b/src/shared/JobAction.cpp
index 745a2c0cc432883132266f5721d7a28c0332e1d3..2b2df6dc3a4ba42a77b1ed81490c6b4e0ba1f2d5 100644
(file)
--- a/
src/shared/JobAction.cpp
+++ b/
src/shared/JobAction.cpp
@@
-91,6
+91,7
@@
JobDBusCall::JobDBusCall(const std::string& busName, const std::string& objPath,
//TODO: escaping quotes?
char* paramStr = g_variant_print(param, TRUE);
__parameters = paramStr ? paramStr : EMPTY_STR;
+ g_free(paramStr);
}
}