session: Factor out memory release part of cleanup_session
authorDaniel Wagner <daniel.wagner@bmw-carit.de>
Wed, 31 Oct 2012 09:33:28 +0000 (10:33 +0100)
committerPatrik Flykt <patrik.flykt@linux.intel.com>
Mon, 5 Nov 2012 12:40:26 +0000 (14:40 +0200)
commit66fe286e81325fc6a30f6cd4982574b93e7f2a4c
tree0c3ae0555f52c1c845953c2bda8e461ff47dc3dc
parent728983ff6cd60fb9a827d76dbbc77f65c66783b3
session: Factor out memory release part of cleanup_session

We want to reuse this code snippet for the error case in
__connman_session_create() too.
src/session.c