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:
4142beb
)
Fix coverity issue
21/154421/1
accepted/tizen/unified/20171011.070030
submit/tizen/20171010.105113
submit/tizen/20171010.105130
submit/tizen/20171010.113404
author
jh8801.jung
<jh8801.jung@samsung.com>
Tue, 10 Oct 2017 02:39:18 +0000
(11:39 +0900)
committer
Jihoon Jung
<jh8801.jung@samsung.com>
Tue, 10 Oct 2017 07:37:17 +0000
(07:37 +0000)
Signed-off-by: jh8801.jung <jh8801.jung@samsung.com>
Change-Id: I388a81aaf8e43345b50971ef050a56b7a33b278f
src/daemon/mtp_daemon_event.c
patch
|
blob
|
history
diff --git
a/src/daemon/mtp_daemon_event.c
b/src/daemon/mtp_daemon_event.c
index 8ad0421fbf9656ed3528ce91c7e1d0dbe48e6733..5861ca89f1be8e5820b8e476109fc3dee610283d 100755
(executable)
--- a/
src/daemon/mtp_daemon_event.c
+++ b/
src/daemon/mtp_daemon_event.c
@@
-432,6
+432,9
@@
mtp_error_e __device_list_init(mtp_context *mtp_ctx)
MTP_LOGI("stitching engine version : %s", device_info->stitching_engine_version);
}
+ g_free(device_version);
+ device_version = NULL;
+
if (device_info->model_name == NULL)
device_info->model_name = strdup(tmp_name);