projects
/
sdk
/
tools
/
sdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37da692
)
Fix the double free case for auto-complete routine.
author
Kim Gunsoo
<gunsoo83.kim@samsung.com>
Mon, 7 Sep 2015 06:40:39 +0000
(15:40 +0900)
committer
Kim Gunsoo
<gunsoo83.kim@samsung.com>
Mon, 7 Sep 2015 06:40:39 +0000
(15:40 +0900)
- When using the push auto-complete routine, the double free is
occurred.
- Remove the duplicated close call.
Change-Id: Id13eef99c928804f922232061dd1bd68cb317f12
Signed-off-by: Kim Gunsoo <gunsoo83.kim@samsung.com>
src/auto_complete.c
patch
|
blob
|
history
diff --git
a/src/auto_complete.c
b/src/auto_complete.c
index 0acb299466472919a6e2dd82c32804426cd6a9a4..67661555112c4aa7cd0e028172d12bdd306367e0 100644
(file)
--- a/
src/auto_complete.c
+++ b/
src/auto_complete.c
@@
-569,7
+569,6
@@
static void print_local_dirlist(char* src_dir, char** not_complete_char) {
finalize:
closedir(d);
- SAFE_FREE(src_dir);
}
static void print_remote_dirlist_with_complete_flag(int argc, char** argv) {