Skip to content

Commit

Permalink
remove OQS_MEM_free
Browse files Browse the repository at this point in the history
Signed-off-by: Songling Han <[email protected]>
  • Loading branch information
songlingatpan committed Sep 23, 2024
1 parent 00a9689 commit c02c48c
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/common/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,7 @@ extern "C" {
* @return A pointer to the allocated memory.
*/
#define OQS_MEM_malloc(size) malloc(size)
/**
* Frees the allocated memory.
* @param ptr The pointer to the memory to be freed.
*/
#define OQS_MEM_insecure_free(ptr) free(ptr)

/**
* Allocates memory for an array of elements of a given size.
* @param num_elements The number of elements to allocate.
Expand Down

0 comments on commit c02c48c

Please sign in to comment.