summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorInHong Han <inhong1.han@samsung.com>2022-06-22 13:17:11 +0900
committerInHong Han <inhong1.han@samsung.com>2022-06-22 13:17:11 +0900
commitf39b31058d6829d7ec812f3425ad329937c6a4d9 (patch)
tree8900b2bd43188d21635fab23259466f6fc8308fd
parent3ba89004c7cd4c3b080c29944a8b5b4117054a3e (diff)
downloadise-default-f39b31058d6829d7ec812f3425ad329937c6a4d9.tar.gz
ise-default-f39b31058d6829d7ec812f3425ad329937c6a4d9.tar.bz2
ise-default-f39b31058d6829d7ec812f3425ad329937c6a4d9.zip
Fix memory leak detected by valgrind
Change-Id: Ia67b2e5d6d6aa979430e5aef9beeed3f8f326c2b
-rw-r--r--src/ise.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ise.cpp b/src/ise.cpp
index 23f6d31..7e47d95 100644
--- a/src/ise.cpp
+++ b/src/ise.cpp
@@ -2085,6 +2085,7 @@ ise_destroy()
LOGD("deleting ui\n");
delete ui;
ui = NULL;
+ g_ui = NULL;
}
if (g_candidate) {