libical r634 - in trunk: . src/libical



Author: pchen
Date: Tue Feb 19 10:14:32 2008
New Revision: 634
URL: http://svn.gnome.org/viewvc/libical?rev=634&view=rev

Log:
2008-02-19  Chenthill Palanisamy  <pchenthill novell com>

        * src/libical/ical.h: Warn the clients including
         the header to ensure the memory returned by libical
         is free'ed properly.



Modified:
   trunk/ChangeLog
   trunk/src/libical/ical.h

Modified: trunk/src/libical/ical.h
==============================================================================
--- trunk/src/libical/ical.h	(original)
+++ trunk/src/libical/ical.h	Tue Feb 19 10:14:32 2008
@@ -26,6 +26,10 @@
 #include <libical/icalmime.h>
 #include <libical/icallangbind.h>
 
+#ifndef HANDLE_LIBICAL_MEMORY
+#warning "Please ensure that the memory returned by the functions mentioned at http://bugzilla.gnome.org/show_bug.cgi?id=516408#c1 are free'ed"
+#endif
+
 #ifdef __cplusplus
 }
 #endif /* __cplusplus */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]