Skip to content

Commit

Permalink
Fix function "freeMemory".
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-rapp committed Oct 22, 2023
1 parent 5902d42 commit 16515c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/subprojects/common/include/mlrl/common/util/memory.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,6 @@ static inline constexpr T* reallocateMemory(T* ptr, uint32 numElements) {
template<typename T>
static inline constexpr void freeMemory(T* ptr) {
if (ptr) {
freeMemory(ptr);
free(ptr);
}
}

0 comments on commit 16515c0

Please sign in to comment.