Fix memory leak 82/155482/1 accepted/tizen/unified/20171016.064546 submit/tizen/20171015.013045
authorAnastasia Lyupa <a.lyupa@samsung.com>
Fri, 13 Oct 2017 07:51:41 +0000 (10:51 +0300)
committerAnastasia Lyupa <a.lyupa@samsung.com>
Fri, 13 Oct 2017 07:59:51 +0000 (10:59 +0300)
Free path in image_util_decode_destroy()

Change-Id: If1b64d0477b3461723bbf4f64a2f9f5c9f96557f
Signed-off-by: Anastasia Lyupa <a.lyupa@samsung.com>
src/image_util_decode.c

index 4561a07..3712b5e 100755 (executable)
@@ -613,6 +613,7 @@ int image_util_decode_destroy(image_util_decode_h handle)
                g_thread_join(_handle->thread);
                IMAGE_UTIL_SAFE_FREE(_handle->_decode_cb);
        }
+       IMAGE_UTIL_SAFE_FREE(_handle->path);
        IMAGE_UTIL_SAFE_FREE(_handle->src_buffer);
        IMAGE_UTIL_SAFE_FREE(_handle);