apply patch in tree
[debian/amanda] / common-src / glib-util.c
index 91985e500f4efa670c7ee69116af001ae4761a65..6a42e8e2b4324900cb7f433080f3c2bf733975e8 100644 (file)
@@ -120,15 +120,6 @@ void slist_free_full(GSList * list, GDestroyNotify free_fn) {
 }
 #endif
 
-void g_queue_free_full(GQueue * queue) {
-    while (!g_queue_is_empty(queue)) {
-        gpointer data;
-        data = g_queue_pop_head(queue);
-        amfree(data);
-    }
-    g_queue_free(queue);
-}
-
 void g_ptr_array_free_full(GPtrArray * array) {
     size_t i;