| 1 |
#Index: ChangeLog
|
| 2 |
#===================================================================
|
| 3 |
#--- ChangeLog (revision 4592)
|
| 4 |
#+++ ChangeLog (revision 4593)
|
| 5 |
#@@ -1,3 +1,7 @@
|
| 6 |
#+2012-03-10 Jean-Louis Martineau <martineau@zmanda.com>
|
| 7 |
#+ * common-src/glib-util.c, common-src/glib-util.h: Remove
|
| 8 |
#+ g_queue_free_full.
|
| 9 |
#+
|
| 10 |
# 2012-03-09 Jean-Louis Martineau <martineau@zmanda.com>
|
| 11 |
# * client-src/client_util.c, common-src/Makefile.am, common-src/am_sl.c,
|
| 12 |
# common-src/amxml.c: typo.
|
| 13 |
Index: common-src/glib-util.c
|
| 14 |
===================================================================
|
| 15 |
--- common-src/glib-util.c (revision 4592)
|
| 16 |
+++ common-src/glib-util.c (revision 4593)
|
| 17 |
@@ -120,15 +120,6 @@
|
| 18 |
}
|
| 19 |
#endif
|
| 20 |
|
| 21 |
-void g_queue_free_full(GQueue * queue) {
|
| 22 |
- while (!g_queue_is_empty(queue)) {
|
| 23 |
- gpointer data;
|
| 24 |
- data = g_queue_pop_head(queue);
|
| 25 |
- amfree(data);
|
| 26 |
- }
|
| 27 |
- g_queue_free(queue);
|
| 28 |
-}
|
| 29 |
-
|
| 30 |
void g_ptr_array_free_full(GPtrArray * array) {
|
| 31 |
size_t i;
|
| 32 |
|
| 33 |
Index: common-src/glib-util.h
|
| 34 |
===================================================================
|
| 35 |
--- common-src/glib-util.h (revision 4592)
|
| 36 |
+++ common-src/glib-util.h (revision 4593)
|
| 37 |
@@ -72,7 +72,6 @@
|
| 38 |
|
| 39 |
/* These functions all take a GLib container, and call free() on all the
|
| 40 |
* pointers in the container before free()ing the container itself. */
|
| 41 |
-void g_queue_free_full(GQueue * queue);
|
| 42 |
void g_ptr_array_free_full(GPtrArray * array);
|
| 43 |
|
| 44 |
/* g_value_compare() does what you expect. It returns TRUE if and
|