From 24142c94ca1fe2c350172e529d0ac9b4001e9307 Mon Sep 17 00:00:00 2001 From: kaotisk Date: Fri, 28 Mar 2025 17:13:34 +0200 Subject: Avoiding malloc/free combo by providing a pointer to the function --- src/include/akfs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/include') diff --git a/src/include/akfs.h b/src/include/akfs.h index 1a574af..5cbcdae 100644 --- a/src/include/akfs.h +++ b/src/include/akfs.h @@ -19,7 +19,7 @@ int ak_fs_create_dir_for_hash(char*); sha512sum ak_fs_sha512sum_string_to_struct(char*); -char* ak_fs_sha512sum_struct_to_string(sha512sum); +void ak_fs_sha512sum_struct_to_string(sha512sum, char*); #endif // AKFS -- cgit v1.2.3