Revision: 7327
http://mahogany.svn.sourceforge.net/mahogany/?rev=7327&view=rev
Author: vadz
Date: 2007-08-20 15:06:51 -0700 (Mon, 20 Aug 2007)
Log Message:
-----------
make another GetProfile() inc ref the pointer it returns after recent changes
Modified Paths:
--------------
trunk/M/src/mail/SpamFilter.cpp
Modified: trunk/M/src/mail/SpamFilter.cpp
===================================================================
--- trunk/M/src/mail/SpamFilter.cpp 2007-08-20 22:01:20 UTC (rev 7326)
+++ trunk/M/src/mail/SpamFilter.cpp 2007-08-20 22:06:51 UTC (rev 7327)
@@ -82,7 +82,11 @@
}
protected:
- virtual Profile *GetProfile() const { return m_profile; }
+ virtual Profile *GetProfile() const
+ {
+ SafeIncRef(m_profile);
+ return m_profile;
+ }
private:
Profile *m_profile;
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Mahogany-cvsupdates mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates