We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9179e5e commit 5965b12Copy full SHA for 5965b12
ProcessHacker/pcre/pcre2_context.c
@@ -38,6 +38,8 @@ POSSIBILITY OF SUCH DAMAGE.
38
-----------------------------------------------------------------------------
39
*/
40
41
+#include <phbase.h>
42
+
43
#define HAVE_CONFIG_H
44
#ifdef HAVE_CONFIG_H
45
#include "config.h"
@@ -56,14 +58,14 @@ POSSIBILITY OF SUCH DAMAGE.
56
58
static void *default_malloc(size_t size, void *data)
57
59
{
60
(void)data;
-return malloc(size);
61
+return PhAllocateSafe(size);
62
}
63
64
65
static void default_free(void *block, void *data)
66
67
-free(block);
68
+PhFree(block);
69
70
71
0 commit comments