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:
b54cb66
)
Fix bug when permission deny
34/186634/1
accepted/tizen/unified/20180814.063209
submit/tizen/20180813.045019
author
Minje Ahn
<minje.ahn@samsung.com>
Mon, 13 Aug 2018 04:44:47 +0000
(13:44 +0900)
committer
Minje Ahn
<minje.ahn@samsung.com>
Mon, 13 Aug 2018 04:44:47 +0000
(13:44 +0900)
Free gerror for next use
Change-Id: Id6431e49df036e7e4b507dc2f7b46f42bc4c142d
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
src/scanner/media-scanner-scan.c
patch
|
blob
|
history
diff --git
a/src/scanner/media-scanner-scan.c
b/src/scanner/media-scanner-scan.c
index
67405c5
..
a1a6834
100755
(executable)
--- a/
src/scanner/media-scanner-scan.c
+++ b/
src/scanner/media-scanner-scan.c
@@
-140,6
+140,10
@@
static int __msc_dir_scan(void **handle, const char *storage_id, const char*star
}
} else {
MS_DBG_ERR("g_dir_open fails [%s]", current_path);
+ if (error != NULL) {
+ g_error_free(error);
+ error = NULL;
+ }
}
if (dir) {