client code knows what objects is stored in the queue and its only 3 lines to do a simple free() on the items.