Boost logo

Boost Users :

Subject: [Boost-users] [SSL - Memory Leak] Adding include <boost/asio/ssl.hpp>
From: Ariel Somaschini (ariel_somaschini_at_[hidden])
Date: 2008-11-24 12:14:26


In
a simple example of Hello World, created with Microsoft VC 2008 Express
Edition on Windows and Linux with KDevelop, to add include <boost/asio/ssl.hpp> produces a Memory Leak.

 In the case of Windows, using DevPartner, it detects the file openssl_init.hpp on line 84.

 In the case of Linux, still report valgrind reachable 48 bytes in 3 blocks.

 The example is very simple:

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#include <iostream>
#include <cstdlib>
#include <boost/asio/ssl.hpp> // Memory Leak

using namespace std;

int main(int argc, char *argv[])
{
  cout << "Hello, world !" << endl;

  return EXIT_SUCCESS;
}

Can somebody help me?
Thx
Ariel

_________________________________________________________________



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net