memory leak

Hi,
I have some code defined as below
1
2
const std::wstring test = L"something";
const char LOG[] = "LOGFILE.txt";

these lines of code are defined in a .h files. I have included these .h files in different .cpp files and have used the variables in my codes.
When I use visual leak detector to find leaks in my code, the leak detector reports these lines of code as leaks. I can't understand it because these variables are not memories allocated dynamically in the heap, so they are not required to be deleted. So why visual leak detector considers them as memory leaks?
regards
Topic archived. No new replies allowed.