Anubisss
d9cb070215
Implement QueryResult_AutoPtr type which is ACE's reference counted auto_ptr(ACE_Refcounted_Auto_Ptr) for QueryResult pointers.
...
Use this auto_ptr for every DB queries(except QueryNamedResult yet).
This patch guarantees NO memory leaks from QueryResult pointers.
Thanks to raczman for the idea and for the helping to make this patch.
--HG--
branch : trunk
2010-01-23 14:45:58 +01:00
XTZGZoReX
1c310c887b
So much for my fix-without-compile skills. :(
...
(inb4 scores)
--HG--
branch : trunk
2010-01-21 11:21:47 +01:00
XTZGZoReX
73719d3e76
* Removed unnecessary query.
...
--HG--
branch : trunk
2010-01-21 10:42:46 +01:00
Anubisss
6855787a83
Fix a memory leak in AddonMgr::LoadFromDB(). This not leaks _yet_ because that function not used anywhere(if my eyez are right) but in the future can leaks.
...
--HG--
branch : trunk
2010-01-20 21:15:42 +01:00
XTZGZoReX
48b085124e
* Add basic AddonMgr.
...
* All this really does at the moment is save addon names + CRCs to DB for use for.. whatever, later.
--HG--
branch : trunk
2010-01-20 16:24:52 +01:00