From: Daniel Wagner <[email protected]>
Don't free the session if it exists already.
---
src/session.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/session.c b/src/session.c
index b57ef71..d068087 100644
--- a/src/session.c
+++ b/src/session.c
@@ -1323,6 +1323,7 @@ int __connman_session_create(DBusMessage *msg)
session = g_hash_table_lookup(session_hash, session_path);
if (session != NULL) {
+ session = NULL;
err = -EEXIST;
goto err;
}
--
1.7.4.4
_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman