21 lines
566 B
Text
21 lines
566 B
Text
Index: qjs.c
|
|
--- qjs.c.orig
|
|
+++ qjs.c
|
|
@@ -152,7 +152,7 @@ static inline size_t js_trace_malloc_usable_size(void
|
|
return malloc_usable_size(ptr);
|
|
#else
|
|
/* change this to `return 0;` if compilation fails */
|
|
- return malloc_usable_size(ptr);
|
|
+ return 0; // return malloc_usable_size(ptr);
|
|
#endif
|
|
}
|
|
|
|
@@ -268,7 +268,7 @@ static const JSMallocFunctions trace_mf = {
|
|
(size_t (*)(const void *))malloc_usable_size,
|
|
#else
|
|
/* change this to `NULL,` if compilation fails */
|
|
- malloc_usable_size,
|
|
+ NULL, // malloc_usable_size,
|
|
#endif
|
|
};
|
|
|