aboutsummaryrefslogtreecommitdiff
path: root/backend/util.h
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-10-30 21:51:06 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2024-10-30 21:51:06 +0100
commit80ed1262bd654fe2de30389f97a985b5f2c1d783 (patch)
tree020b1b63d637e07882c9a10d81fe2ac04ce82bcc /backend/util.h
parentc45a436fc594101f676cfabe90225d825d935fec (diff)
add more containers and fix use after free
Diffstat (limited to 'backend/util.h')
-rw-r--r--backend/util.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/backend/util.h b/backend/util.h
index e544e19..83cae58 100644
--- a/backend/util.h
+++ b/backend/util.h
@@ -2,14 +2,8 @@
#include <stdio.h>
-#include "List.h"
-
void safe_free(void * & ptr);
void safe_free(char * & ptr);
void safe_free(const char * & ptr);
-template <typename T>
-void safe_free(List<T *> & ptr_list);
void safe_free(FILE * & ptr);
-#include "util.hpp"
-