result destructor at the wrong level
authorAndreas Steffen <andreas.steffen@strongswan.org>
Wed, 14 May 2014 07:43:54 +0000 (09:43 +0200)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Wed, 14 May 2014 07:43:54 +0000 (09:43 +0200)
src/libpts/plugins/imv_attestation/imv_attestation_process.c

index 9af07de..f2aa4ec 100644 (file)
@@ -515,9 +515,9 @@ quote_error:
                                                                                                        IMV_ATTESTATION_STATE_END);
                                                break;
                                        }
-                                       result->destroy(result);
                                }
                                enumerator->destroy(enumerator);
+                               result->destroy(result);
                        }
 
                        if (attr_cast->get_evid_sig(attr_cast, &evid_sig))