projects
/
platform
/
core
/
connectivity
/
mtp-initiator.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
300f154
)
Fix svace issue : 158787
09/103009/1
author
Jihoon Jung
<jh8801.jung@samsung.com>
Wed, 7 Dec 2016 04:32:49 +0000
(13:32 +0900)
committer
Jihoon Jung
<jh8801.jung@samsung.com>
Wed, 7 Dec 2016 04:34:13 +0000
(20:34 -0800)
Change-Id: I4f146e16f807f8fb8f3b813475d486aa3d3cc88a
src/daemon/mtp_daemon_controller.c
patch
|
blob
|
history
diff --git
a/src/daemon/mtp_daemon_controller.c
b/src/daemon/mtp_daemon_controller.c
index
26e411a
..
e77b568
100755
(executable)
--- a/
src/daemon/mtp_daemon_controller.c
+++ b/
src/daemon/mtp_daemon_controller.c
@@
-81,8
+81,11
@@
mtp_error_e mtp_daemon_controller_init(mtp_context *mtp_ctx)
mtp_ctx->c_thread = g_thread_try_new(NULL, _controller_thread, mtp_ctx, &error);
if (mtp_ctx->c_thread == NULL) {
- MTP_LOGE("Can not create controller thread : %s", error->message);
- g_error_free(error);
+ MTP_LOGE("Can not create controller thread");
+ if (error != NULL) {
+ MTP_LOGE("The error msg : %s", error->message);
+ g_error_free(error);
+ }
return MTP_ERROR_CONTROLLER;
}