[PD-dev] fixing guiqueue

Krzysztof Czaja czaja at chopin.edu.pl
Sat Dec 18 15:16:22 CET 2004


hi Miller,

looks like this typo in sys_unqueuegui() was behind many,
if not all, quiqueue-related crashes reported on pd-list:

--- s_inter.c~  2004-10-25 05:10:19.000000000 +0200
+++ s_inter.c   2004-12-18 15:10:03.000000000 +0100
@@ -778,7 +778,7 @@
          if (gq2->gq_client == client)
      {
          gq->gq_next = gq2->gq_next;
-        t_freebytes(gq, sizeof(*gq));
+        t_freebytes(gq2, sizeof(*gq));
          break;
      }
  }

Krzysztof





More information about the Pd-dev mailing list