diff options
author | Andreas Baumann <abaumann@yahoo.com> | 2012-08-07 11:56:16 +0200 |
---|---|---|
committer | Andreas Baumann <abaumann@yahoo.com> | 2012-08-07 11:56:16 +0200 |
commit | 9dfe4aa8f2fe2fc93479e4b806aafc0cdd76f650 (patch) | |
tree | 70930568daa261300e31baca29e08a75955a7076 /src/modules/urlnormalizer/simpleurl/SimpleURLNormalizer.cpp | |
parent | d61420eab67f2acab8ea6e3b51a4e763a3259569 (diff) | |
download | crawler-9dfe4aa8f2fe2fc93479e4b806aafc0cdd76f650.tar.gz crawler-9dfe4aa8f2fe2fc93479e4b806aafc0cdd76f650.tar.bz2 |
allow modules to be linked as static libraries, mainly to be able to
use valgrind for leak-checking
Diffstat (limited to 'src/modules/urlnormalizer/simpleurl/SimpleURLNormalizer.cpp')
-rw-r--r-- | src/modules/urlnormalizer/simpleurl/SimpleURLNormalizer.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/modules/urlnormalizer/simpleurl/SimpleURLNormalizer.cpp b/src/modules/urlnormalizer/simpleurl/SimpleURLNormalizer.cpp index 7e7d1ac..414adf1 100644 --- a/src/modules/urlnormalizer/simpleurl/SimpleURLNormalizer.cpp +++ b/src/modules/urlnormalizer/simpleurl/SimpleURLNormalizer.cpp @@ -7,12 +7,10 @@ using namespace std; SimpleURLNormalizer::SimpleURLNormalizer( ) { - test = malloc(10); } SimpleURLNormalizer::~SimpleURLNormalizer( ) { - free( test ); } URL SimpleURLNormalizer::parseUrl( const string s ) |