mirror of
https://github.com/augustin64/projet-tipe
synced 2025-01-23 15:16:26 +01:00
mem management: remove warning
This commit is contained in:
parent
9db15e96ac
commit
4625ad2992
@ -214,6 +214,7 @@ void gree(void* ptr, bool already_freed) {
|
||||
memory = free_memory(ptr, memory, already_freed);
|
||||
pthread_mutex_unlock(&memory_lock);
|
||||
#else
|
||||
(void)already_freed;
|
||||
free(ptr);
|
||||
#endif
|
||||
}
|
@ -214,6 +214,7 @@ void gree(void* ptr, bool already_freed) {
|
||||
memory = free_memory(ptr, memory, already_freed);
|
||||
pthread_mutex_unlock(&memory_lock);
|
||||
#else
|
||||
(void)already_freed;
|
||||
free(ptr);
|
||||
#endif
|
||||
}
|
Loading…
Reference in New Issue
Block a user