diff options
author | Taeyoung Kim <ty317.kim@samsung.com> | 2016-05-09 03:15:33 -0700 |
---|---|---|
committer | Gerrit Code Review <gerrit@review.vlan103.tizen.org> | 2016-05-09 03:15:33 -0700 |
commit | c2e3ec2dc5a79b63479a53ae7bc07ac2dfc6ce5a (patch) | |
tree | 29c9efdadddf310e50391a0d5b9cf18158a64ccb | |
parent | 9a1bf3735b39af1b27fd8ae9245ffdae9455017f (diff) | |
parent | 7e215d5394e8cd5b73efcbbac971247d58ecaf48 (diff) | |
download | deviced-c2e3ec2dc5a79b63479a53ae7bc07ac2dfc6ce5a.tar.gz deviced-c2e3ec2dc5a79b63479a53ae7bc07ac2dfc6ce5a.tar.bz2 deviced-c2e3ec2dc5a79b63479a53ae7bc07ac2dfc6ce5a.zip |
Merge "tzip: add NULL check routine before releasing fuse_handle" into tizensubmit/tizen/20160510.075001accepted/tizen/wearable/20160511.080341accepted/tizen/tv/20160511.080316accepted/tizen/mobile/20160511.080300accepted/tizen/ivi/20160511.080358
-rw-r--r-- | src/tzip/tzip.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/tzip/tzip.c b/src/tzip/tzip.c index 2c6f1175..50bcafdd 100644 --- a/src/tzip/tzip.c +++ b/src/tzip/tzip.c @@ -376,8 +376,10 @@ static void *tzip_thread(void *arg) } tzip_lock(); - fuse_destroy(fuse_handle); - fuse_handle = NULL; + if (fuse_handle) { + fuse_destroy(fuse_handle); + fuse_handle = NULL; + } out_unlock: tzip_unlock(); |