Details
-
Task
-
Resolution: Fixed
-
Major - P3
-
None
-
None
-
None
-
None
Description
When methods like kms_request_get_signed return char* pointers, kms-message needs to provide a method so the parent library can free the return char* pointer back into the heap it was allocated on.
Basically, just write kms_request_free(void*) and have it call free().
This will ensure that if kms-message is used as a shared library, the memory it allocates is correctly freed.