mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-08 12:41:29 +00:00
tests: Remove VIR_FREE() on static/stack buffer (der.data)
This commit is contained in:
parent
7489a9c340
commit
31e0de1a85
@ -297,7 +297,6 @@ testTLSGenerateCert(struct testTLSCertReq *req)
|
|||||||
abort();
|
abort();
|
||||||
}
|
}
|
||||||
asn1_delete_structure(&ext);
|
asn1_delete_structure(&ext);
|
||||||
VIR_FREE(der.data);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -324,7 +323,6 @@ testTLSGenerateCert(struct testTLSCertReq *req)
|
|||||||
abort();
|
abort();
|
||||||
}
|
}
|
||||||
asn1_delete_structure(&ext);
|
asn1_delete_structure(&ext);
|
||||||
VIR_FREE(der.data);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -355,7 +353,6 @@ testTLSGenerateCert(struct testTLSCertReq *req)
|
|||||||
abort();
|
abort();
|
||||||
}
|
}
|
||||||
asn1_delete_structure(&ext);
|
asn1_delete_structure(&ext);
|
||||||
VIR_FREE(der.data);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user