]> xenbits.xensource.com Git - libvirt.git/commitdiff
tests: Remove VIR_FREE() on static/stack buffer (der.data)
authorJohn Ferlan <jferlan@redhat.com>
Tue, 22 Jan 2013 22:09:24 +0000 (17:09 -0500)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 23 Jan 2013 14:02:06 +0000 (15:02 +0100)
tests/virnettlscontexttest.c

index 49462df759d01356bf5f0adcee9330d029ebadd8..e0a2788b47910e64abe4b53c2400ea964f171982 100644 (file)
@@ -297,7 +297,6 @@ testTLSGenerateCert(struct testTLSCertReq *req)
             abort();
         }
         asn1_delete_structure(&ext);
-        VIR_FREE(der.data);
     }
 
     /*
@@ -324,7 +323,6 @@ testTLSGenerateCert(struct testTLSCertReq *req)
             abort();
         }
         asn1_delete_structure(&ext);
-        VIR_FREE(der.data);
     }
 
     /*
@@ -355,7 +353,6 @@ testTLSGenerateCert(struct testTLSCertReq *req)
             abort();
         }
         asn1_delete_structure(&ext);
-        VIR_FREE(der.data);
     }
 
     /*