From 504d231429e2a5d2b31a876645b590bb4a6a03f6 Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Wed, 30 Oct 2024 16:43:22 +0100 Subject: WIP battle the memory leaks --- backend/util.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'backend/util.h') diff --git a/backend/util.h b/backend/util.h index 1889698..44d9a49 100644 --- a/backend/util.h +++ b/backend/util.h @@ -1,6 +1,11 @@ #pragma once +#include "List.h" + void safe_free(void * & ptr); void safe_free(const char * & ptr); +template +void safe_free(List & ptr_list); +#include "util.hpp" -- cgit v1.2.3