mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-03 13:50:08 +00:00
Add more memory log
This commit is contained in:
parent
80a9497afd
commit
118d62d42d
657 changed files with 4179 additions and 3131 deletions
4
lib/sbi/openapi/external/cJSON.c
vendored
4
lib/sbi/openapi/external/cJSON.c
vendored
|
|
@ -148,7 +148,7 @@ static void *internal_realloc(void *pointer, size_t size)
|
|||
#include "ogs-core.h"
|
||||
static void *internal_malloc(size_t size)
|
||||
{
|
||||
return ogs_malloc(size);
|
||||
return ogs_malloc_or_assert(size);
|
||||
}
|
||||
static void internal_free(void *pointer)
|
||||
{
|
||||
|
|
@ -156,7 +156,7 @@ static void internal_free(void *pointer)
|
|||
}
|
||||
static void *internal_realloc(void *pointer, size_t size)
|
||||
{
|
||||
return ogs_realloc(pointer, size);
|
||||
return ogs_realloc_or_assert(pointer, size);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue