ekiga r6373 - trunk/lib/engine/addressbook/skel
- From: jpuydt svn gnome org
- To: svn-commits-list gnome org
- Subject: ekiga r6373 - trunk/lib/engine/addressbook/skel
- Date: Fri, 6 Jun 2008 11:50:26 +0000 (UTC)
Author: jpuydt
Date: Fri Jun 6 11:50:26 2008
New Revision: 6373
URL: http://svn.gnome.org/viewvc/ekiga?rev=6373&view=rev
Log:
Updated the comment to follow the code : the sources are freed either :
* because they are a service,
* or because they belong to a service which will free them.
Modified:
trunk/lib/engine/addressbook/skel/contact-core.h
Modified: trunk/lib/engine/addressbook/skel/contact-core.h
==============================================================================
--- trunk/lib/engine/addressbook/skel/contact-core.h (original)
+++ trunk/lib/engine/addressbook/skel/contact-core.h Fri Jun 6 11:50:26 2008
@@ -61,9 +61,8 @@
/** Core object for address book support.
*
- * Notice that you give sources to this object as pointers, and this
- * object then assumes the ownership of the source: it will call delete
- * on each of them when it is destroyed.
+ * Notice that you give sources to this object as references, so they won't
+ * be freed here : it's up to you to free them somehow.
*/
class ContactCore: public Service
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]