/* You must not currently be polling on the #GPollFD returned by g_wakeup_get_pollfd(), or the result is undefined.  */
void g_wakeup_free(GWakeup *wakeup)
/* You must not currently be polling on the #GPollFD returned by g_wakeup_get_pollfd(), or the result is undefined.  */
void g_wakeup_free(GWakeup *wakeup)
{
  close (wakeup->fds[0]);
  if (wakeup->fds[1] != -1)
    close (wakeup->fds[1]);
  g_slice_free (GWakeup, wakeup);
}