summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaehyun Kim <jeik01.kim@samsung.com>2024-05-10 17:23:32 +0900
committerJaehyun Kim <jeik01.kim@samsung.com>2024-05-10 17:23:32 +0900
commitc760e02e756e4edb4d0ef21c0d91cd77101c63e8 (patch)
treed2c5775bf67fae2724ff577fe517ef846e025d4f
parent8b2128425a5c4aedf997840828e47e7ef4a4ef32 (diff)
downloadconnman-c760e02e756e4edb4d0ef21c0d91cd77101c63e8.tar.gz
connman-c760e02e756e4edb4d0ef21c0d91cd77101c63e8.tar.bz2
connman-c760e02e756e4edb4d0ef21c0d91cd77101c63e8.zip
Change-Id: I8da4750132045813c3c3ff79580f2394592ab91f Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
-rwxr-xr-xsrc/service.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/service.c b/src/service.c
index 9f7c4690..2ac5a04f 100755
--- a/src/service.c
+++ b/src/service.c
@@ -10681,6 +10681,7 @@ static void service_load_wpa_passphrase(struct connman_service *service)
if (!favorite || !autoconnect) {
g_free(identifier);
+ g_key_file_free(keyfile);
return;
}
@@ -10693,6 +10694,7 @@ static void service_load_wpa_passphrase(struct connman_service *service)
g_free(identifier);
g_free(passphrase);
+ g_key_file_free(keyfile);
}
#endif