destroy SQL query
authorAndreas Steffen <andreas.steffen@strongswan.org>
Sun, 21 Apr 2013 14:00:23 +0000 (16:00 +0200)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Sun, 21 Apr 2013 14:00:23 +0000 (16:00 +0200)
src/libimcv/plugins/imv_os/imv_os_database.c

index dff4144..a7f9f2e 100644 (file)
@@ -206,6 +206,7 @@ METHOD(imv_os_database_t, get_device_id, int,
                e->destroy(e);
                return id;
        }
+       e->destroy(e);
 
        /* register new device ID in database and return primary key */
        return (this->db->execute(this->db, &id,