projects
/
platform
/
core
/
multimedia
/
media-server.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a0ddb5
)
Resource leak fix
21/156821/1
author
hj kim
<backto.kim@samsung.com>
Fri, 20 Oct 2017 06:10:15 +0000
(15:10 +0900)
committer
hj kim
<backto.kim@samsung.com>
Fri, 20 Oct 2017 06:10:42 +0000
(15:10 +0900)
Change-Id: I1120c3d0e72acddf31cf98485cdebdbfe0f430d5
lib/media-util-noti.c
patch
|
blob
|
history
diff --git
a/lib/media-util-noti.c
b/lib/media-util-noti.c
index
31d7413
..
cdc326b
100755
(executable)
--- a/
lib/media-util-noti.c
+++ b/
lib/media-util-noti.c
@@
-242,6
+242,7
@@
int media_db_update_send(int pid, /* mandatory */
message = g_variant_new("(iiissis)", item, pid, update_type, repl_path, uuid, media_type, mime_type);
} else {
MSAPI_DBG_ERR("uuid or mime_type is NULL");
+ g_object_unref(bus);
return MS_MEDIA_ERR_INVALID_PARAMETER;
}
} else if (item == MS_MEDIA_ITEM_DIRECTORY) {