Review: Needs Fixing
There is a memory leak in the implementation.
To check simply run
ctest -R url-
and look into the build/Testing/Temporary/LastTest.log.
Here is what you will see:
=== end of result ===
testdriver: success (non-canonical result # 1 matches)
testdriver: test runtime was 37041us
ID: 78 Referenced URI: http://www.zorba-xquery.com/modules/xqxq/url-resolver
ID: 113 Referenced URI: http://www.zorba-xquery.com/modules/xqxq
terminate called after throwing an instance of 'zorba::ZorbaException'
what(): Zorba did not close properly, objects may still in memory.
2 referenced URI(s) remain in the string pool.
For help avoiding this message please refer to
http://www.zorba-xquery.com/html/documentation in section General Architecture
-> Memory Leaks.
Your team Zorba Coders is subscribed to branch lp:zorba/xqxq-module.
Mailing list: https://launchpad.net/~zorba-coders
Post to : email@example.com
Unsubscribe : https://launchpad.net/~zorba-coders
More help : https://help.launchpad.net/ListHelp