One more improvement.
authorMatthias Clasen <mclasen@redhat.com>
Tue, 26 Jul 2005 15:37:22 +0000 (15:37 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Tue, 26 Jul 2005 15:37:22 +0000 (15:37 +0000)
2005-07-26  Matthias Clasen  <mclasen@redhat.com>

* glib/tmpl/arrays.sgml: One more improvement.

docs/reference/ChangeLog
docs/reference/glib/tmpl/arrays.sgml

index 8027bef198a9fa82379268acea7f5e10a5eaec0e..a8d3ec4d956b49abb700fe7ea0f4e8934d30204f 100644 (file)
@@ -1,3 +1,7 @@
+2005-07-26  Matthias Clasen  <mclasen@redhat.com>
+
+       * glib/tmpl/arrays.sgml: One more improvement.
+
 2005-07-25  Matthias Clasen  <mclasen@redhat.com>
 
        * glib/tmpl/arrays.sgml: Add some details.  (#311310,
index 427e9b1d1a54574ec34569c7849a235f2485f8db..4ed62071f4175bc95f9407247fc0751644da79cb 100644 (file)
@@ -291,6 +291,12 @@ If @free_segment is %TRUE it frees the memory block holding the elements
 as well. Pass %FALSE if you want to free the #GArray wrapper but preserve
 the underlying array for use elsewhere.
 </para>
+<note>
+<para>
+If array elements contain dynamically-allocated memory, they should be freed
+first.
+</para>
+</note>
 
 @array: a #GArray.
 @free_segment: if %TRUE the actual element data is freed as well.