Add a way to free detached strings

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Mark Benvenuto
            Reporter:
            Mark Benvenuto
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: