summaryrefslogtreecommitdiff
path: root/plugins/CryptoPP/src/mmi.cpp
blob: 321dc1d87162b962ae315bc5cec3cf5f8bb20d4d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include "commonheaders.h"

void __fastcall safe_free(void** p)
{
	if (*p) {
		free(*p);
		*p = NULL;
	}
}


void __fastcall safe_delete(void** p)
{
	if (*p) {
		delete(*p);
		*p = NULL;
	}
}