src/pEpEngine.c
changeset 26 843e629627bf
parent 24 50887c6ab78f
child 28 7fc9fc3e680c
     1.1 --- a/src/pEpEngine.c	Mon Sep 01 17:50:28 2014 +0200
     1.2 +++ b/src/pEpEngine.c	Mon Sep 01 18:36:42 2014 +0200
     1.3 @@ -32,7 +32,7 @@
     1.4  	
     1.5  	_session->version = PEP_ENGINE_VERSION;
     1.6  
     1.7 -    status_result = pgp_init(session);
     1.8 +    status_result = pgp_init(_session);
     1.9      assert(status_result == PEP_STATUS_OK);
    1.10      if (status_result != PEP_STATUS_OK) {
    1.11          free(_session);
    1.12 @@ -244,6 +244,11 @@
    1.13  			sqlite3_finalize(_session->log);
    1.14  			sqlite3_finalize(_session->get_identity);
    1.15  			sqlite3_finalize(_session->set_identity);
    1.16 +            sqlite3_finalize(_session->set_person);
    1.17 +            sqlite3_finalize(_session->set_pgp_keypair);
    1.18 +            sqlite3_finalize(_session->set_trust);
    1.19 +            sqlite3_finalize(_session->get_trust);
    1.20 +
    1.21  			sqlite3_close_v2(_session->db);
    1.22  			sqlite3_close_v2(_session->system_db);
    1.23  		}