// wula.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include <malloc.h>
void TestFunction();
int main(int argc, char* argv[])
{
TestFunction();
return 0;
}
void TestFunction()
{
bool bContinue = false;
bool bBreak = false;
char *pBuffer = NULL;
while (1)
{
pBuffer = (char*)malloc(1000);
if (bContinue)
{
goto TestFunction_Continue_Loop;
}
if (bBreak)
{
goto TestFunction_End_Loop;
}
TestFunction_Continue_Loop:
free(pBuffer);
pBuffer = NULL;
}
TestFunction_End_Loop:
if (pBuffer != NULL)
{
free(pBuffer);
pBuffer = NULL;
}
return;
}