From 95622ca964ab37dff95e48d9d49c943df06b30d5 Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Sun, 23 Oct 2022 19:19:30 +0200 Subject: Forgot a bunch of other box_ malloc/realloc/calloc/free use --- src/include/wrappedlibs.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/include/wrappedlibs.h') diff --git a/src/include/wrappedlibs.h b/src/include/wrappedlibs.h index 871f7af0..7bb4d5a2 100755 --- a/src/include/wrappedlibs.h +++ b/src/include/wrappedlibs.h @@ -10,8 +10,8 @@ typedef void (*wrappedlib_fini_t)(library_t * lib); typedef int (*wrappedlib_get_t)(library_t* lib, const char* name, uintptr_t *offs, uintptr_t *sz, int* weak, int version, const char* vername, int local); void setNeededLibs(library_t* lib, int n, ...); -#define SETALT(A) lib->w.altmy = strdup(#A) -#define SETALTPREFIX(A) lib->w.altprefix = strdup(A) +#define SETALT(A) lib->w.altmy = box_strdup(#A) +#define SETALTPREFIX(A) lib->w.altprefix = box_strdup(A) typedef struct wrappedlib_s { const char* name; -- cgit 1.4.1