mirror of
https://github.com/vel21ripn/nDPI.git
synced 2026-05-01 00:19:42 +00:00
parent
80cfd5b2f6
commit
2b3fdb4f8a
2 changed files with 11 additions and 4 deletions
|
|
@ -13,7 +13,7 @@ static int fastrand ()
|
|||
}
|
||||
|
||||
static void *malloc_wrapper(size_t size) {
|
||||
return (fastrand () % 256) ? malloc (size) : NULL;
|
||||
return (fastrand () % 16) ? malloc (size) : NULL;
|
||||
}
|
||||
static void free_wrapper(void *freeable) {
|
||||
free(freeable);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue