aboutsummaryrefslogtreecommitdiff
path: root/cpp01/ex01/ex01.cpp
blob: c08e1d20eeb0e3b9ebd980e0d47cda693f381ca7 (plain)
1
2
3
4
5
6
7
8
#include <iostream>

void memoryLeak()
{
	std::string* panthere = new std::string("String panthere");
	std::cout << *panthere << std::endl;
	delete panthere;
}