From 9bcb476262d290448475216f97d6322480e4eb62 Mon Sep 17 00:00:00 2001 From: dimok321 <15055714+dimok789@users.noreply.github.com> Date: Wed, 29 Dec 2010 10:22:11 +0000 Subject: [PATCH] *fixed settings paths creation bug *fixed crash when installing on ntfs *fixed a few bugs with language setting for games --- libcustomext2fs/source/mem_allocate.h | 3 ++- libcustomfat/mem_allocate.h | 3 ++- libcustomntfs/mem_allocate.h | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/libcustomext2fs/source/mem_allocate.h b/libcustomext2fs/source/mem_allocate.h index 0d1132eb..4554b8b4 100644 --- a/libcustomext2fs/source/mem_allocate.h +++ b/libcustomext2fs/source/mem_allocate.h @@ -17,7 +17,8 @@ extern __inline__ void* mem_align (size_t a, size_t size) { } extern __inline__ void mem_free (void* mem) { - MEM2_free(mem); + //using normal free, it will decide which free to use (just to be on the safe side) + free(mem); } #endif /* _MEM_ALLOCATE_H */ diff --git a/libcustomfat/mem_allocate.h b/libcustomfat/mem_allocate.h index bf478c2c..622a25ab 100644 --- a/libcustomfat/mem_allocate.h +++ b/libcustomfat/mem_allocate.h @@ -43,7 +43,8 @@ static inline void* _FAT_mem_align (size_t size) { } static inline void _FAT_mem_free (void* mem) { - MEM2_free(mem); + //using normal free, it will decide which free to use (just to be on the safe side) + free(mem); } #endif // _MEM_ALLOCATE_H diff --git a/libcustomntfs/mem_allocate.h b/libcustomntfs/mem_allocate.h index f7c4ad2d..07681005 100644 --- a/libcustomntfs/mem_allocate.h +++ b/libcustomntfs/mem_allocate.h @@ -38,7 +38,8 @@ static inline void* ntfs_align (size_t size) static inline void ntfs_free (void* mem) { - MEM2_free(mem); + //using normal free, it will decide which free to use (just to be on the safe side) + free(mem); } #endif /* _MEM_ALLOCATE_H */