Fix allocation of wrong size
authorLukas Jiriste <ljiriste@student.42prague.com>
Thu, 28 Mar 2024 11:01:32 +0000 (12:01 +0100)
committerLukas Jiriste <ljiriste@student.42prague.com>
Thu, 28 Mar 2024 11:01:32 +0000 (12:01 +0100)
commitf953d9b45c3890bc80ec78da053f614e1aa7e6a5
tree944d2d8c15afa04a7e35f8543239e3e1c15d50d7
parent026f67c0b6bf8e52b806baa5c225528442aa94d3
Fix allocation of wrong size

The way the allocation was written, it allocated space for pointer
instead of the structure pointed to. This has been corrected.
philo/mem_management.c