[PATCH 2/6] tests: Remove VIR_FREE() on static/stack buffer (der.data)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 tests/virnettlscontexttest.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/tests/virnettlscontexttest.c b/tests/virnettlscontexttest.c
index 49462df..e0a2788 100644
--- a/tests/virnettlscontexttest.c
+++ b/tests/virnettlscontexttest.c
@@ -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);
     }
 
     /*
-- 
1.7.11.7

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]