summaryrefslogtreecommitdiff
path: root/plugins/CryptoPP/src/mmi.cpp
blob: 3ebebf78069edcabf5a70ab3e6c78919be99b742 (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 = nullptr;
	}
}


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